Class CallerOnlyCredential
- java.lang.Object
- 
- jakarta.security.enterprise.credential.CallerOnlyCredential
 
- 
- All Implemented Interfaces:
- Credential
 
 public class CallerOnlyCredential extends Object implements Credential CallerOnlyCredentialrepresents 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. 
- 
- 
Constructor SummaryConstructors Constructor Description CallerOnlyCredential(String caller)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaller()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jakarta.security.enterprise.credential.Credentialclear, isCleared, isValid
 
- 
 
-