Name
AuthPermission
Synopsis
This java.security.Permission
class governs the use of various methods
in this package and its subpackages. The target name of the
permission specifies which methods are allowed;
AuthPermission
objects have no actions list.
Application programmers never need to use this class directly. System
implementors may need to use it, and system administrators who
configure security policies may need to be familiar with the
following table of target names and the permissions they represent:
Target name |
Gives permission to |
---|---|
doAs |
Invoke |
doAsPrivileged |
Invoke |
getSubject |
Invoke |
getSubjectFromDomainCombiner |
Invoke |
setReadOnly |
Invoke |
modifyPrincipals |
Modify the |
modifyPublicCredentials |
Modify the |
modifyPrivateCredentials |
Modify the |
refreshCredential |
Invoke the |
destroyCredential |
Invoke the |
createLoginContext. |
Instantiate a |
getLoginConfiguration |
Invoke the |
setLoginConfiguration ... |
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.