Package ddf.security.pep.interceptor
Class SecurityAssertionStore
java.lang.Object
ddf.security.pep.interceptor.SecurityAssertionStore
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 TypeMethodDescriptionstatic ddf.security.assertion.SecurityAssertiongetSecurityAssertion(org.apache.cxf.message.Message message) Return the SecurityAssertion wrapper associated with the provided messagestatic org.apache.cxf.ws.security.tokenstore.TokenStoregetTokenStore(org.apache.cxf.message.Message message) Return the TokenStore associated with this message
-
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
-