Interface DelegatingUserPrincipal

    • Method Detail

      • getDelegate

        default UserPrincipal getDelegate()
        Returns a delegate user principal. Implementations that are "pure" principals (there's a principal type representing it) will return themselves. Other implementations, such as session, PIN, etc, will return a delegate according to the principal type.
      • getPrincipal

        default String getPrincipal()
        Description copied from interface: UserPrincipal
        Should return a value that can be used to identify the user. In case the value should be hidden, implementors should return null.
        Specified by:
        getPrincipal in interface UserPrincipal