Class AuthorizationRegistration
java.lang.Object
org.wildfly.security.jakarta.authz.AuthorizationRegistration
Utility to enable registration for Jakarta Authorization.
- Author:
- Darran Lofthouse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Perform any static registration for Jakarta Authorization.static booleanCheck if this implementation supports self registration.
-
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:
trueif this supports self registration, false otherwise.
-
register
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
-