Class UserIdCredentials

  • All Implemented Interfaces:
    java.io.Serializable, Credentials

    public final class UserIdCredentials
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      UserIdCredentials​(@NotNull java.lang.String userId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getUserId()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserIdCredentials

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

      • getUserId

        @NotNull
        public @NotNull java.lang.String getUserId()