Top Description Fields Constructors Methods
javax.security.enterprise.credential

public Class CallerOnlyCredential

extends Object
implements Credential
Class Inheritance
All Implemented Interfaces
javax.security.enterprise.credential.Credential

CallerOnlyCredential represents a credential that only contains a caller name and no secret of any kind.

This kind of credential is for internal usage within an application, e.g. for "run-as" functionality in a context where the caller is already sufficiently trusted.

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public
CallerOnlyCredential(String
The caller name
caller
)

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

callerback to summary
private final String caller

Constructor Detail

CallerOnlyCredentialback to summary
public CallerOnlyCredential(String caller)
Parameters
caller:String

The caller name

Method Detail

getCallerback to summary
public String getCaller()