Java Code Examples for org.apache.cxf.ws.security.tokenstore.SecurityToken#getTransformedTokenIdentifier()
The following examples show how to use
org.apache.cxf.ws.security.tokenstore.SecurityToken#getTransformedTokenIdentifier() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: STSTokenValidator.java From steady with Apache License 2.0 | 5 votes |
private SecurityToken getTransformedToken(TokenStore tokenStore, int hash) { SecurityToken recoveredToken = tokenStore.getToken(Integer.toString(hash)); if (recoveredToken != null && recoveredToken.getTokenHash() == hash) { String transformedTokenId = recoveredToken.getTransformedTokenIdentifier(); if (transformedTokenId != null) { return tokenStore.getToken(transformedTokenId); } } return null; }
Example 2
Source File: STSTokenValidator.java From steady with Apache License 2.0 | 5 votes |
private SecurityToken getTransformedToken(TokenStore tokenStore, int hash) { SecurityToken recoveredToken = tokenStore.getToken(Integer.toString(hash)); if (recoveredToken != null && recoveredToken.getTokenHash() == hash) { String transformedTokenId = recoveredToken.getTransformedTokenIdentifier(); if (transformedTokenId != null) { return tokenStore.getToken(transformedTokenId); } } return null; }
Example 3
Source File: STSTokenValidator.java From steady with Apache License 2.0 | 5 votes |
private SecurityToken getTransformedToken(TokenStore tokenStore, int hash) { SecurityToken recoveredToken = tokenStore.getToken(Integer.toString(hash)); if (recoveredToken != null && recoveredToken.getTokenHash() == hash) { String transformedTokenId = recoveredToken.getTransformedTokenIdentifier(); if (transformedTokenId != null) { return tokenStore.getToken(transformedTokenId); } } return null; }
Example 4
Source File: STSTokenValidator.java From steady with Apache License 2.0 | 5 votes |
private SecurityToken getTransformedToken(TokenStore tokenStore, int hash) { SecurityToken recoveredToken = tokenStore.getToken(Integer.toString(hash)); if (recoveredToken != null && recoveredToken.getTokenHash() == hash) { String transformedTokenId = recoveredToken.getTransformedTokenIdentifier(); if (transformedTokenId != null) { return tokenStore.getToken(transformedTokenId); } } return null; }
Example 5
Source File: STSTokenValidator.java From cxf with Apache License 2.0 | 5 votes |
private SecurityToken getTransformedToken(TokenStore ts, int hash) { SecurityToken recoveredToken = ts.getToken(Integer.toString(hash)); if (recoveredToken != null && recoveredToken.getTokenHash() == hash) { String transformedTokenId = recoveredToken.getTransformedTokenIdentifier(); if (transformedTokenId != null) { return ts.getToken(transformedTokenId); } } return null; }