Package com.soffid.iam.service
Interface SamlService
-
public interface SamlService
Service SamlService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
authenticate(String hostName, String app, String protocol, Map<String,String> response)
Operation authenticate Validates the SAML response, and returns a single use username and passwordString
checkAuthenticationToken(String[] token)
Operation checkAuthenticationToken Validates the single use username and password generated on previous step.List<String>
findIdentityProviders()
Operation findIdentityProviders Gets the list of Identity Providers from medatata URLList<String>
findIdentityProviders(String url)
Operation findIdentityProviders Gets the list of Identity Providers from arbitrary URLString
generateMetadata(String hostName)
Operation generateMetadata Generates SAML metadata to publish to SAML federation discovery databaseSamlRequest
generateSamlRequest(String hostName, String app)
Operation generateSamlRequest Generates a SAML request to formard to the IdP
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateSamlRequest
SamlRequest generateSamlRequest(String hostName, String app) throws InternalErrorException
Operation generateSamlRequest Generates a SAML request to formard to the IdP- Parameters:
hostName
-app
-- Returns:
- Throws:
InternalErrorException
-
checkAuthenticationToken
String checkAuthenticationToken(String[] token) throws InternalErrorException
Operation checkAuthenticationToken Validates the single use username and password generated on previous step. Returns the underlying account name- Parameters:
token
-- Returns:
- Throws:
InternalErrorException
-
generateMetadata
String generateMetadata(String hostName) throws InternalErrorException
Operation generateMetadata Generates SAML metadata to publish to SAML federation discovery database- Parameters:
hostName
-- Returns:
- Throws:
InternalErrorException
-
authenticate
String[] authenticate(String hostName, String app, String protocol, Map<String,String> response) throws InternalErrorException
Operation authenticate Validates the SAML response, and returns a single use username and password- Parameters:
hostName
-app
-protocol
-response
-- Returns:
- Throws:
InternalErrorException
-
findIdentityProviders
List<String> findIdentityProviders() throws InternalErrorException
Operation findIdentityProviders Gets the list of Identity Providers from medatata URL- Returns:
- Throws:
InternalErrorException
-
findIdentityProviders
List<String> findIdentityProviders(String url) throws InternalErrorException
Operation findIdentityProviders Gets the list of Identity Providers from arbitrary URL- Parameters:
url
-- Returns:
- Throws:
InternalErrorException
-
-