Class CallerOnlyCredential

All Implemented Interfaces:

public class CallerOnlyCredential
extends java.lang.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 Summary

    Constructor Description
    CallerOnlyCredential​(java.lang.String caller)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCaller()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface

    clear, isCleared, isValid
  • Constructor Details

    • CallerOnlyCredential

      public CallerOnlyCredential​(java.lang.String caller)
      caller - The caller name
  • Method Details

    • getCaller

      public java.lang.String getCaller()