use of org.apache.cxf.sts.token.provider.SCTProvider in project cxf by apache.
the class SCTCancellerTest method getSecurityContextToken.
private TokenProviderResponse getSecurityContextToken() throws Exception {
TokenProvider sctTokenProvider = new SCTProvider();
TokenProviderParameters providerParameters = createProviderParameters(STSUtils.TOKEN_TYPE_SCT_05_12);
return sctTokenProvider.createToken(providerParameters);
}
use of org.apache.cxf.sts.token.provider.SCTProvider in project cxf by apache.
the class SCTValidatorTest method getSecurityContextToken.
private TokenProviderResponse getSecurityContextToken() throws Exception {
TokenProvider sctTokenProvider = new SCTProvider();
TokenProviderParameters providerParameters = createProviderParameters(STSUtils.TOKEN_TYPE_SCT_05_12);
return sctTokenProvider.createToken(providerParameters);
}
Aggregations