Class ConvenienceUserAccessAuthenticationImpl
java.lang.Object
org.projecthusky.xua.communication.impl.ConvenienceUserAccessAuthenticationImpl
- All Implemented Interfaces:
AuthenticationModule
,XUserAssertionModule
- Direct Known Subclasses:
ConvenienceUserAccessAuthenticationChImpl
public class ConvenienceUserAccessAuthenticationImpl
extends Object
implements AuthenticationModule, XUserAssertionModule
Class implementing the interface ConvenienceUserAccessAuthentication.
Klasse die das Interface ConvenienceUserAccessAuthentication implementiert.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new instance and initializes the OpenSaml Libraries. -
Method Summary
Modifier and TypeMethodDescriptioninvokeGetXUserAssertion
(SecurityHeaderElement aSecurityHeaderElement, XUserAssertionRequest aRequest, XuaClientConfig clientConfiguration) Method to get the xuser assertion from an X-Assertion Provider. Methode um die Authentifizierungs Assertion eines X-Assertion Providers zu erhalten.invokeUserAuthentication
(AuthnRequest aAuthnRequest, IdpClientConfig clientConfiguration) Method to get the authentication assertion from an idp. Methode um die Authentifizierungs-Assertion eines IdP zu erhalten.
-
Constructor Details
-
ConvenienceUserAccessAuthenticationImpl
public ConvenienceUserAccessAuthenticationImpl() throws org.opensaml.core.config.InitializationExceptionInstantiates a new instance and initializes the OpenSaml Libraries.- Throws:
org.opensaml.core.config.InitializationException
- will be thrown on error
-
-
Method Details
-
invokeGetXUserAssertion
public List<XUserAssertionResponse> invokeGetXUserAssertion(SecurityHeaderElement aSecurityHeaderElement, XUserAssertionRequest aRequest, XuaClientConfig clientConfiguration) throws ClientSendException Method to get the xuser assertion from an X-Assertion Provider.Methode um die Authentifizierungs Assertion eines X-Assertion Providers zu erhalten.- Specified by:
invokeGetXUserAssertion
in interfaceXUserAssertionModule
- Parameters:
aSecurityHeaderElement
-The SecurityHeaderElement to be sent by SOAP header.Das SecurityHeaderElement welcehs im SOAP header mitgeschickt werden soll.aRequest
-The XUserAssertionRequest to be sent.Der XUserAssertionRequest der geschickt werden soll.clientConfiguration
-The client configuartion to be set..Die Client Konfiguration die gesetzt werden soll.- Returns:
- Throws:
ClientSendException
- See Also:
-
invokeUserAuthentication
public Object invokeUserAuthentication(AuthnRequest aAuthnRequest, IdpClientConfig clientConfiguration) throws ClientSendException Method to get the authentication assertion from an idp.Methode um die Authentifizierungs-Assertion eines IdP zu erhalten.- Specified by:
invokeUserAuthentication
in interfaceAuthenticationModule
- Parameters:
aAuthnRequest
-The AuthnRequest to be sent to the IdP.Der AuthnRequest der zum IdP geschickt werden soll.clientConfiguration
-The client configuration to be used to communicate with the IdP service.Die Client Konfiguration die gebraucht wird um mit dem Service des IdP zu kommunizieren.- Returns:
- The response to the AuthnRequest from IdP service. Response or Artifact StringDie Antwort auf eine AuthnRequest des IdP Services.
- Throws:
ClientSendException
- will be thrown if an error occures.- See Also:
-