Class UserIdCredentials

  • All Implemented Interfaces:
    Serializable, Credentials

    public final class UserIdCredentials
    extends Object
    implements Credentials
    Credentials implementation that only contains a userId but no password. It can be used for User.getCredentials(), where the corresponding user doesn't have a password set.
    See Also:
    Serialized Form
    • Constructor Detail

      • UserIdCredentials

        public UserIdCredentials​(@NotNull
                                 @NotNull String userId)
    • Method Detail

      • getUserId

        @NotNull
        public @NotNull String getUserId()