Class SecurityAssertionStore

java.lang.Object
ddf.security.pep.interceptor.SecurityAssertionStore

public final class SecurityAssertionStore extends Object
Creates a SecurityAssertion object by extracting the token id from the message and using that id to retrieve the SecurityToken object from the TokenStore instance.
Author:
tustisos
  • Method Summary

    Modifier and Type
    Method
    Description
    static ddf.security.assertion.SecurityAssertion
    getSecurityAssertion(org.apache.cxf.message.Message message)
    Return the SecurityAssertion wrapper associated with the provided message
    static org.apache.cxf.ws.security.tokenstore.TokenStore
    getTokenStore(org.apache.cxf.message.Message message)
    Return the TokenStore associated with this message

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getSecurityAssertion

      public static ddf.security.assertion.SecurityAssertion getSecurityAssertion(org.apache.cxf.message.Message message)
      Return the SecurityAssertion wrapper associated with the provided message
      Parameters:
      message - Message
      Returns:
      SecurityAssertion
    • getTokenStore

      @Nullable public static org.apache.cxf.ws.security.tokenstore.TokenStore getTokenStore(org.apache.cxf.message.Message message)
      Return the TokenStore associated with this message
      Parameters:
      message -
      Returns:
      the TokenStore, or null if it could not be retrieved