Package com.sun.identity.security
Class AdminTokenAction
java.lang.Object
com.sun.identity.security.AdminTokenAction
- All Implemented Interfaces:
PrivilegedAction<SSOToken>
Provides a centralised method for fetching an administrator token for operations where there
is no user present.
Note: Java security permissions check for OpenAM can be enabled by setting the property
com.sun.identity.security.checkcaller
to true in AMConfig.properties
file.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AdminTokenAction
Returns a cached instance ofAdminTokenAction
.run()
-
Field Details
-
AMADMIN_MODE
- See Also:
-
-
Constructor Details
-
AdminTokenAction
public AdminTokenAction()
-
-
Method Details
-
getInstance
Returns a cached instance ofAdminTokenAction
.- Returns:
- instance of
AdminTokenAction
-
run
- Specified by:
run
in interfacePrivilegedAction<SSOToken>
-