Package com.soffid.iam.rc.service
Interface SamlService
public interface SamlService
Service SamlService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]Operation authenticate Validates the SAML response, and returns a single use username and passwordcheckAuthenticationToken(String[] token) Operation checkAuthenticationToken Validates the single use username and password generated on previous step.Operation findIdentityProviders Gets the list of Identity Providers from medatata URLOperation findIdentityProviders Gets the list of Identity Providers from arbitrary URLgenerateMetadata(String hostName) Operation generateMetadata Generates SAML metadata to publish to SAML federation discovery databasegenerateSamlRequest(String hostName, String app) Operation generateSamlRequest Generates a SAML request to formard to the IdPvalidateOpenidToken(String token) Operation validateOpenidToken
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
generateSamlRequest
Operation generateSamlRequest Generates a SAML request to formard to the IdP- Parameters:
hostName-app-- Returns:
- Throws:
InternalErrorException
-
checkAuthenticationToken
Operation checkAuthenticationToken Validates the single use username and password generated on previous step. Returns the underlying account name- Parameters:
token-- Returns:
- Throws:
InternalErrorException
-
generateMetadata
Operation generateMetadata Generates SAML metadata to publish to SAML federation discovery database- Parameters:
hostName-- Returns:
- Throws:
InternalErrorException
-
validateOpenidToken
Operation validateOpenidToken- Parameters:
token-- Returns:
- Throws:
InternalErrorException
-
authenticate
String[] authenticate(String hostName, String app, String protocol, Map<String, String> response) throws InternalErrorExceptionOperation authenticate Validates the SAML response, and returns a single use username and password- Parameters:
hostName-app-protocol-response-- Returns:
- Throws:
InternalErrorException
-
findIdentityProviders
Operation findIdentityProviders Gets the list of Identity Providers from medatata URL- Returns:
- Throws:
InternalErrorException
-
findIdentityProviders
Operation findIdentityProviders Gets the list of Identity Providers from arbitrary URL- Parameters:
url-- Returns:
- Throws:
InternalErrorException
-