Class AuthorizationRegistration

java.lang.Object
org.wildfly.security.jakarta.authz.AuthorizationRegistration

public class AuthorizationRegistration extends Object
Utility to enable registration for Jakarta Authorization.
Author:
Darran Lofthouse
  • Constructor Details

    • AuthorizationRegistration

      public AuthorizationRegistration()
  • Method Details

    • supportsSelfRegistration

      public static boolean supportsSelfRegistration()
      Check if this implementation supports self registration. This is required as an application server may depend on different versions of this library, some of which do support self registration and others that do not.
      Returns:
      true if this supports self registration, false otherwise.
    • register

      public static void register() throws GeneralSecurityException
      Perform any static registration for Jakarta Authorization. If this method is called and the implementation does not support self registration this method should return without error.
      Throws:
      GeneralSecurityException