Searched defs:tokenTypeId (Results 1 - 12 of 12) sorted by relevance

/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/
H A DAuthenticationHandler.java33 * @param tokenTypeId the type of the to-be-authenticated token. Necessary to obtain the AuthTargetMapping defining
38 String authenticate(T token, TokenTypeId tokenTypeId) throws TokenValidationException; argument
H A DAuthenticationHandlerImpl.java56 public String authenticate(T token, TokenTypeId tokenTypeId) throws TokenValidationException { argument
57 final URL authUrl = authenticationUrlProvider.authenticationUrl(tokenTypeId);
59 final String response = requestDispatcher.dispatch(authUrl, authTargetMapping.getAuthTargetMapping(tokenTypeId), token);
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/url/
H A DAuthenticationUrlProvider.java36 * @param tokenTypeId The to-be-validated Token.
40 URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException; argument
H A DAuthenticationUrlProviderImpl.java65 public URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException { argument
67 AuthTargetMapping.AuthTarget target = authTargetMapping.getAuthTargetMapping(tokenTypeId);
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/
H A DAuthenticationHandler.java33 * @param tokenTypeId the type of the to-be-authenticated token. Necessary to obtain the AuthTargetMapping defining
38 String authenticate(T token, TokenTypeId tokenTypeId) throws TokenValidationException; argument
H A DAuthenticationHandlerImpl.java56 public String authenticate(T token, TokenTypeId tokenTypeId) throws TokenValidationException { argument
57 final URL authUrl = authenticationUrlProvider.authenticationUrl(tokenTypeId);
59 final String response = requestDispatcher.dispatch(authUrl, authTargetMapping.getAuthTargetMapping(tokenTypeId), token);
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/validator/url/
H A DAuthenticationUrlProvider.java36 * @param tokenTypeId The to-be-validated Token.
40 URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException; argument
H A DAuthenticationUrlProviderImpl.java65 public URL authenticationUrl(TokenTypeId tokenTypeId) throws TokenValidationException { argument
67 AuthTargetMapping.AuthTarget target = authTargetMapping.getAuthTargetMapping(tokenTypeId);
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DAuthTargetMapping.java85 * @param tokenTypeId the token type identifier
93 public AuthTargetMappingBuilder addMapping(TokenTypeId tokenTypeId, String authIndexType, String authIndexValue, Map<String,String> context) { argument
94 mappings.put(tokenTypeId.getId(), new AuthTarget(authIndexType, authIndexValue, context));
102 * @param tokenTypeId the token type identifier
107 public AuthTargetMappingBuilder addMapping(TokenTypeId tokenTypeId, String authIndexType, String authIndexValue) { argument
108 return addMapping(tokenTypeId, authIndexType, authIndexValue, NULL_MAP);
115 * @param tokenTypeId the String token type identifier
123 private AuthTargetMappingBuilder addMapping(String tokenTypeId, String authIndexType, String authIndexValue, Map<String,String> context) { argument
124 mappings.put(tokenTypeId, new AuthTarget(authIndexType, authIndexValue, context));
271 public AuthTarget getAuthTargetMapping(TokenTypeId tokenTypeId) { argument
[all...]
/forgerock/openam-v13/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/token/provider/saml2/
H A DDefaultSaml2XmlTokenAuthnContextMapper.java278 protected String peformSaml2AuthNContextClassReferenceMapping(TokenTypeId tokenTypeId, WSSecurityEngineResult securityEngineResult) { argument
279 if (TokenType.OPENAM.getId().equals(tokenTypeId.getId())) {
281 } else if (TokenType.USERNAME.getId().equals(tokenTypeId.getId())) {
283 } else if (TokenType.X509.getId().equals(tokenTypeId.getId())) {
286 logger.error("Unexpected TokenType passed to DefaultSaml2XmlTokenAuthnContextMapper: " + tokenTypeId + "; returning " +
296 protected String peformSaml2AuthNContextClassReferenceMappingForDelegatedToken(TokenTypeId tokenTypeId) { argument
297 return peformSaml2AuthNContextClassReferenceMapping(tokenTypeId, null);
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/config/user/
H A DAuthTargetMapping.java85 * @param tokenTypeId the token type identifier
93 public AuthTargetMappingBuilder addMapping(TokenTypeId tokenTypeId, String authIndexType, String authIndexValue, Map<String,String> context) { argument
94 mappings.put(tokenTypeId.getId(), new AuthTarget(authIndexType, authIndexValue, context));
102 * @param tokenTypeId the token type identifier
107 public AuthTargetMappingBuilder addMapping(TokenTypeId tokenTypeId, String authIndexType, String authIndexValue) { argument
108 return addMapping(tokenTypeId, authIndexType, authIndexValue, NULL_MAP);
115 * @param tokenTypeId the String token type identifier
123 private AuthTargetMappingBuilder addMapping(String tokenTypeId, String authIndexType, String authIndexValue, Map<String,String> context) { argument
124 mappings.put(tokenTypeId, new AuthTarget(authIndexType, authIndexValue, context));
271 public AuthTarget getAuthTargetMapping(TokenTypeId tokenTypeId) { argument
[all...]
/forgerock/openam/openam-sts/openam-soap-sts/openam-soap-sts-server/src/main/java/org/forgerock/openam/sts/soap/token/provider/saml2/
H A DDefaultSaml2XmlTokenAuthnContextMapper.java278 protected String peformSaml2AuthNContextClassReferenceMapping(TokenTypeId tokenTypeId, WSSecurityEngineResult securityEngineResult) { argument
279 if (TokenType.OPENAM.getId().equals(tokenTypeId.getId())) {
281 } else if (TokenType.USERNAME.getId().equals(tokenTypeId.getId())) {
283 } else if (TokenType.X509.getId().equals(tokenTypeId.getId())) {
286 logger.error("Unexpected TokenType passed to DefaultSaml2XmlTokenAuthnContextMapper: " + tokenTypeId + "; returning " +
296 protected String peformSaml2AuthNContextClassReferenceMappingForDelegatedToken(TokenTypeId tokenTypeId) { argument
297 return peformSaml2AuthNContextClassReferenceMapping(tokenTypeId, null);

Completed in 119 milliseconds