Class ElytronPermission

All Implemented Interfaces:
Serializable, Guard, PermissionVerifier

public final class ElytronPermission extends AbstractNameSetOnlyPermission<ElytronPermission>
A general Elytron permission. The permission name must be one of the following:
  • authenticate
  • createAuthenticator
  • createAuthenticationContextConfigurationClient
  • createSecurityDomain
  • createSecurityRealm
  • registerSecurityDomain
  • getSecurityDomain
  • unregisterSecurityDomain
  • setRunAsPrincipal
  • createServerAuthenticationContext
  • getPrivateCredentials
  • getIdentity
  • getIdentityForUpdate
  • createAdHocIdentity
  • withDefaultRoleMapper
  • handleSecurityEvent
The actions are not used and should be empty or null.
Author:
David M. Lloyd
See Also:
  • Constructor Details

    • ElytronPermission

      public ElytronPermission(String name)
      Construct a new instance.
      Parameters:
      name - the name of the permission
    • ElytronPermission

      public ElytronPermission(String name, String actions)
      Construct a new instance.
      Parameters:
      name - the name of the permission
      actions - the actions (should be empty)
  • Method Details