Name
Class javax.security.auth.AuthPermission
Synopsis
This class represents permission to interact
with the javax.security.auth.Policy,
Subject, LoginContext, and
Configuration classes. It is a basic permission,
so it accepts a name but no actions.
The valid names of this class are:
- doAs
Allow calling the
Subject.doAs( )method.
- doAsPrivileged
Allow calling the
Subject.doAsPrivileged( )method.
- getSubject
Allow calling the
Subject.getSubject( )method.
- getSubjectFromDomainCombiner
Allow retrieving a subject that has a domain combiner.
- setReadOnly
Allow calling the
setReadOnly( )method of theSubjectclass.
- modifyPrincipals
Allow modifying the set of principals returned by the
getPrincipals( )method of theSubjectclass.
- modifyPublicCredentials
Allow modifying the public credentials of those principals.
- getPolicy
Allow calling the
getPolicy( )method of thejavax.security.auth.Policyclass.
- setPolicy
Allow calling the
setPolicy( )method of thejavax.security.auth.Policyclass.
- refreshPolicy
Allow calling the
refresh( )method of thejavax.security.auth.Policyclass.
- refreshCredential
Allow calling the
refresh( )method of aRefreshableobject.
- destroyCredential
Allow calling the
destroy( )method of aDestroyableobject.
- createLoginContext
Allow code to instantiate a
LoginContextobject.
- getLoginConfiguration
Allow calling the
getConfiguration( )method of theConfigurationclass.
- setLoginConfiguration
Allow calling the
setConfiguration( )method of theConfigurationclass.
- refreshLoginConfiguration ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access