public interface IArtifactFactory
Modifier and Type | Method and Description |
---|---|
String |
getArtifact()
Retrieve an artifact String from the ArtifactFactory
|
String |
getAssertion()
Generate an assertion using SIN service.
|
String |
getAssertion(int samlVersion) |
String |
getAssertion(String user) |
String |
getAssertion(String user,
int samlVersion) |
String |
getAssertion(String user,
int samlVersion,
boolean encode) |
String |
getAssertion(String user,
String[] groups,
Map<String,String> roles) |
String |
getAssertion(String user,
String[] groups,
Map<String,String> roles,
Map<String,String> attributes) |
String |
getAssociatedUser()
Obtain the user name associated with the SAML artifact (usually the current user)
|
String |
validateAssertion(String assertion)
Validate a SAML assertion and returns the associated user id.
|
String |
validateSAMLResponse(HttpServletRequest request,
String samlRespParamName) |
String getArtifact()
String
the SAML artifact.String getAssertion()
String
the SAML artifact.String getAssertion(int samlVersion)
String getAssertion(String user, String[] groups, Map<String,String> roles, Map<String,String> attributes)
String validateAssertion(String assertion)
assertion
- a SAML1.1/SAML2 assertion.String validateSAMLResponse(HttpServletRequest request, String samlRespParamName)