public class CallerOnlyCredential extends Object implements 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.
Constructor and Description |
---|
CallerOnlyCredential(String caller) |
Modifier and Type | Method and Description |
---|---|
String |
getCaller() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, isCleared, isValid
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.