RingJavafor Ring

javax.security.auth

8 classes of the module java.base.

Load them with:

using {
	"javax.security.auth"
}

All packages

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

MethodRing callJava overloads
destroydestroy()void destroy()
isDestroyedisDestroyed()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

MethodRing callJava overloads
getCredentialClassgetCredentialClass()String getCredentialClass()
getPrincipalsgetPrincipals()String[][] getPrincipals()

The methods and fields of Permission are inherited.

Refreshable#

interface · javax.security.auth.Refreshable

Methods

MethodRing callJava overloads
isCurrentisCurrent()boolean isCurrent()
refreshrefresh()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

MethodRing callJava overloads
@getPrincipals@getPrincipals(c)Set getPrincipals(Class c)
@getPrivateCredentials@getPrivateCredentials(c)Set getPrivateCredentials(Class c)
@getPublicCredentials@getPublicCredentials(c)Set getPublicCredentials(Class c)
callAscallAs(subject,action)static Object callAs(Subject subject, Callable action)
currentcurrent()static Subject current()
doAsdoAs(subject,action)static Object doAs(Subject subject, PrivilegedExceptionAction action)
static Object doAs(Subject subject, PrivilegedAction action)
doAsPrivilegeddoAsPrivileged(subject,action,acc)static Object doAsPrivileged(Subject subject, PrivilegedExceptionAction action, AccessControlContext acc)
static Object doAsPrivileged(Subject subject, PrivilegedAction action, AccessControlContext acc)
getPrincipalsgetPrincipals()Set getPrincipals()
getPrivateCredentialsgetPrivateCredentials()Set getPrivateCredentials()
getPublicCredentialsgetPublicCredentials()Set getPublicCredentials()
getSubjectgetSubject(acc)static Subject getSubject(AccessControlContext acc)
isReadOnlyisReadOnly()boolean isReadOnly()
setReadOnlysetReadOnly()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

MethodRing callJava overloads
combinecombine(currentDomains,assignedDomains)ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
getSubjectgetSubject()Subject getSubject()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.