javax.security.auth
8 classes of the module java.base.
Load them with:
using {
"javax.security.auth"
}
AuthPermission#
class final · extends BasicPermission · javax.security.auth.AuthPermission
Constructors
new AuthPermission(String name) |
new AuthPermission(String name, String actions) |
Ring: new AuthPermission(args) uses the constructor with the fewest parameters (at least one); new AuthPermission makes the object with the constructor without parameters; the others: (new AuthPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BasicPermission are inherited.
Destroyable#
interface · javax.security.auth.Destroyable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
destroy | destroy() | void destroy() |
isDestroyed | isDestroyed() | boolean isDestroyed() |
DestroyFailedException#
class · extends Exception · javax.security.auth.DestroyFailedException
Constructors
new DestroyFailedException() |
new DestroyFailedException(String msg) |
Ring: new DestroyFailedException(args) uses the constructor with the fewest parameters (at least one); new DestroyFailedException makes the object with the constructor without parameters; the others: (new DestroyFailedException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
PrivateCredentialPermission#
class final · extends Permission · javax.security.auth.PrivateCredentialPermission
Constructors
new PrivateCredentialPermission(String name, String actions) |
Ring: new PrivateCredentialPermission(args) uses the constructor with the fewest parameters (at least one); new PrivateCredentialPermission makes the object with the constructor without parameters; the others: (new PrivateCredentialPermission).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCredentialClass | getCredentialClass() | String getCredentialClass() |
getPrincipals | getPrincipals() | String[][] getPrincipals() |
The methods and fields of Permission are inherited.
Refreshable#
interface · javax.security.auth.Refreshable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
isCurrent | isCurrent() | boolean isCurrent() |
refresh | refresh() | void refresh() |
RefreshFailedException#
class · extends Exception · javax.security.auth.RefreshFailedException
Constructors
new RefreshFailedException() |
new RefreshFailedException(String msg) |
Ring: new RefreshFailedException(args) uses the constructor with the fewest parameters (at least one); new RefreshFailedException makes the object with the constructor without parameters; the others: (new RefreshFailedException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
Subject#
class final · extends Object · javax.security.auth.Subject
Implements: Serializable
Constructors
new Subject() |
new Subject(boolean readOnly, Set principals, Set pubCredentials, Set privCredentials) |
Ring: new Subject(args) uses the constructor with the fewest parameters (at least one); new Subject makes the object with the constructor without parameters; the others: (new Subject).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getPrincipals | @getPrincipals(c) | Set getPrincipals(Class c) |
@getPrivateCredentials | @getPrivateCredentials(c) | Set getPrivateCredentials(Class c) |
@getPublicCredentials | @getPublicCredentials(c) | Set getPublicCredentials(Class c) |
callAs | callAs(subject,action) | static Object callAs(Subject subject, Callable action) |
current | current() | static Subject current() |
doAs | doAs(subject,action) | static Object doAs(Subject subject, PrivilegedExceptionAction action)static Object doAs(Subject subject, PrivilegedAction action) |
doAsPrivileged | doAsPrivileged(subject,action,acc) | static Object doAsPrivileged(Subject subject, PrivilegedExceptionAction action, AccessControlContext acc)static Object doAsPrivileged(Subject subject, PrivilegedAction action, AccessControlContext acc) |
getPrincipals | getPrincipals() | Set getPrincipals() |
getPrivateCredentials | getPrivateCredentials() | Set getPrivateCredentials() |
getPublicCredentials | getPublicCredentials() | Set getPublicCredentials() |
getSubject | getSubject(acc) | static Subject getSubject(AccessControlContext acc) |
isReadOnly | isReadOnly() | boolean isReadOnly() |
setReadOnly | setReadOnly() | void setReadOnly() |
The methods and fields of Object are inherited.
SubjectDomainCombiner#
class · extends Object · javax.security.auth.SubjectDomainCombiner
Implements: DomainCombiner
Constructors
new SubjectDomainCombiner(Subject subject) |
Ring: new SubjectDomainCombiner(args) uses the constructor with the fewest parameters (at least one); new SubjectDomainCombiner makes the object with the constructor without parameters; the others: (new SubjectDomainCombiner).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
combine | combine(currentDomains,assignedDomains) | ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains) |
getSubject | getSubject() | Subject getSubject() |
The methods and fields of Object are inherited.