Class UserIdCredentials

java.lang.Object
org.apache.jackrabbit.oak.spi.security.user.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:
  • Constructor Details

    • UserIdCredentials

      public UserIdCredentials(@NotNull @NotNull String userId)
  • Method Details

    • getUserId

      @NotNull public @NotNull String getUserId()