|
|||||||||
| Home >> All >> javax >> security >> [ auth overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.security.auth
Class AuthPermission

java.lang.Objectjava.security.Permission
java.security.BasicPermission
javax.security.auth.AuthPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public final class AuthPermission
- extends java.security.BasicPermission
A permission controlling access to authentication service. The actions field of auth permission objects is ignored; the whole of the permission is defined by the target.
The authentication permission targets recognized are:
doAsAllows access to the
Subject#doAs(javax.security.auth.Subject java.security.PrivilegedAction)methods.doAsPrivilegedAllows access to the
Subject.doAsPrivileged(javax.security.auth.Subject, java.security.PrivilegedAction, java.security.AccessControlContext)55 methods.getSubjectAllows access to the Subject associated with a thread.
getSubjectFromDomainCombinerAllows access to the Subject associated with a SubjectDomainCombiner.
setReadOnlyAllows a Subject to be marked as read-only.
modifyPrincipalsAllows the set of principals of a subject to be modified.
modifyPublicCredentialsAllows the set of public credentials of a subject to be modified.
modifyPrivateCredentialsAllows the set of private credentials of a subject to be modified.
refreshCredentialAllows a Refreshable credential to be refreshed.
destroyCredentialAllows a Destroyable credential to be destroyed.
createLoginContext.nameAllows a
javax.security.auth.login.LoginContextfor the given name. name can also be a wildcard ('*'), which allows the creation of a context with any name.getLoginConfigurationAllows the system-wide login
javax.security.auth.login.Configurationto be retrieved.setLoginConfigurationAllows the system-wide login
javax.security.auth.login.Configurationto be set.refreshLoginConfigurationAllows the system-wide login
javax.security.auth.login.Configurationto be refreshed.
| Nested Class Summary |
| Nested classes inherited from class java.security.BasicPermission |
|
| Field Summary |
| Fields inherited from class java.security.BasicPermission |
|
| Fields inherited from class java.security.Permission |
|
| Constructor Summary | |
AuthPermission(java.lang.String name)
Creates a new authentication permission for the given target name. |
|
AuthPermission(java.lang.String name,
java.lang.String actions)
Creates a new authentication permission for the given target name. |
|
| Methods inherited from class java.security.BasicPermission |
equals, getActions, hashCode, implies, newPermissionCollection |
| Methods inherited from class java.security.Permission |
checkGuard, getName, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
AuthPermission
public AuthPermission(java.lang.String name)
- Creates a new authentication permission for the given target name.
AuthPermission
public AuthPermission(java.lang.String name, java.lang.String actions)
- Creates a new authentication permission for the given target name.
The actions list is not used by this class.
|
|||||||||
| Home >> All >> javax >> security >> [ auth overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC