Class UserIdentityPermission


  • public final class UserIdentityPermission
    extends java.lang.Object
    • Constructor Detail

      • UserIdentityPermission

        public UserIdentityPermission​(UserIdentity.Type type,
                                      Identity.Encoding encoding,
                                      boolean isRequired)
        Parameters:
        type - identity type
        encoding - identity encoding
        isRequired - if set to true, users missing this identity will be ignored
      • UserIdentityPermission

        public UserIdentityPermission​(UserIdentity.Type type,
                                      Identity.Encoding encoding)
        Parameters:
        type - identity type
        encoding - identity encoding
    • Method Detail

      • getEncoding

        public Identity.Encoding getEncoding()
        Returns:
        user identity encoding
      • isRequired

        public boolean isRequired()
        Returns:
        true if identity is required