Class AuthnRequestBuilderImpl
java.lang.Object
org.projecthusky.xua.authentication.impl.AuthnRequestBuilderImpl
- All Implemented Interfaces:
AuthnRequestBuilder
,SecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest,
,AuthnRequest> BaseBuilder<AuthnRequestBuilder>
public class AuthnRequestBuilderImpl
extends Object
implements AuthnRequestBuilder, SecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest,AuthnRequest>
Class implementing the corresponding interface for authnrequest building.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassertionConsumerServiceIndex
(Integer aAssertionConsumerServiceIndex) Builds the assertion consumer service index in the AuthnRequest. Buildet den Assertion Consumer Service Index im AuthnRequest.assertionConsumerServiceUrl
(String aAssertionConsumerServiceURL) Builds the assertion consumer service url on the AuthnRequest. Bildet die Assertion Consumer W`Service url im AuthnRequest.attributeConsumingServiceIndex
(Integer aAttributeConsumingServiceIndex) Builds the attribute consumer service index on the AuthnRequest. Buildet den Attribute Consumer Service Index im AuthnRequest.Building the consent on the AuthnRequest. Bildet den Consent im AuthnRequest.create()
Creates a concrete instance of AuthnRequest with setted params. Erstellt die konkrete Instanz des AuthnRequests mit den gesetzten Parametern.create
(org.opensaml.saml.saml2.core.AuthnRequest aInternalObject) Method to create an instance of type T. Methode um eine Instanc des Typs T zu erstellen.destination
(String aDestination) Building the destination on the AuthnRequest. Bildet die Destination im AuthnRequest.forceAuthn
(Boolean aForceAuthn) Building the forceAuthn attribute in the AuthnRequest. Bildet das forceAuthn Attribut im AuthnRequest.Builds the id on the T. Bildet die ID im T.issueInstant
(Calendar aIssueInstant) Builds the issueInstant on the T. Bildet den issueInstant im T.Builds the Issuer element on the T. Buildet das Issuer element im T.nameIdPolicyAllowCreate
(Boolean aNameIdPolicyAllowCreate) Builds the NameIDpolicy.AllowCreate attribute in the AuthnRequest. Bildet das NameIDpolicy.AllowCreate Attribut im AuthnRequest.nameIdPolicyFormat
(String aNameIdPolicyFormat) Builds the NameIDpolicy.Format attribute in the AuthnRequest. Bildet das NameIDpolicy.Format Attribut im AuthnRequest.protocolBinding
(String aProtocolBinding) Building the ProtocolBinding attribute in the AuthnRequest. Bildet das ProtocolBinding Attribut im AuthnRequest.providerId
(String aProviderID) Builds the ProviderID attribute in the AuthnRequest. Bildet das ProviderID Attribut im AuthnRequest.providerName
(String aProviderName) Building the provider name on the AuthnRequest. Bildet das Proivider Namen im AuthnRequest.Builds the subject attribute in the AuthnRequest. Bildet das Subject Attribut im AuthnRequest.Builds the Version on the T. Buildet die Version im T.
-
Constructor Details
-
AuthnRequestBuilderImpl
public AuthnRequestBuilderImpl()Instantiates a new AuthnRequestBuilderImpl.
-
-
Method Details
-
assertionConsumerServiceIndex
Builds the assertion consumer service index in the AuthnRequest.Buildet den Assertion Consumer Service Index im AuthnRequest.- Specified by:
assertionConsumerServiceIndex
in interfaceAuthnRequestBuilder
- Parameters:
aAssertionConsumerServiceIndex
-the assertion consumer service index to be setDer Assertion Consumer Service Index der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
assertionConsumerServiceUrl
Builds the assertion consumer service url on the AuthnRequest.Bildet die Assertion Consumer W`Service url im AuthnRequest.- Specified by:
assertionConsumerServiceUrl
in interfaceAuthnRequestBuilder
- Parameters:
aAssertionConsumerServiceURL
-the assertion consumer service url to be setdie Assertion Consumer Service URL die gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
attributeConsumingServiceIndex
Builds the attribute consumer service index on the AuthnRequest.Buildet den Attribute Consumer Service Index im AuthnRequest.- Specified by:
attributeConsumingServiceIndex
in interfaceAuthnRequestBuilder
- Parameters:
aAttributeConsumingServiceIndex
-the attribute consuming service index to be setder Attribute Consuming Service Index der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
consent
Building the consent on the AuthnRequest.Bildet den Consent im AuthnRequest.- Specified by:
consent
in interfaceAuthnRequestBuilder
- Parameters:
aConsent
-the consent to be setder Consent der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
create
Creates a concrete instance of AuthnRequest with setted params.Erstellt die konkrete Instanz des AuthnRequests mit den gesetzten Parametern.- Specified by:
create
in interfaceAuthnRequestBuilder
- Returns:
- a new AuthnRequest instance with the params seteine neue AuthRequest Instanz mit den gesetzten Parametern
- See Also:
-
create
Method to create an instance of type T.Methode um eine Instanc des Typs T zu erstellen.- Specified by:
create
in interfaceSecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnRequest,
AuthnRequest> - Parameters:
aInternalObject
-the internal wrapped object of type Tdas Innere, gewrappte Object vom Typ T- Returns:
- the Object ot the type U
the instance of type Udie erstellte Instanz vom Typ U
- See Also:
-
destination
Building the destination on the AuthnRequest.Bildet die Destination im AuthnRequest.- Specified by:
destination
in interfaceAuthnRequestBuilder
- Parameters:
aDestination
-the destination to be setdie Destination die gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
forceAuthn
Building the forceAuthn attribute in the AuthnRequest.Bildet das forceAuthn Attribut im AuthnRequest.- Specified by:
forceAuthn
in interfaceAuthnRequestBuilder
- Parameters:
aForceAuthn
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
id
Builds the id on the T.Bildet die ID im T.- Specified by:
id
in interfaceBaseBuilder<AuthnRequestBuilder>
- Parameters:
aId
-the id string to be setdie ID die gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
issueInstant
Builds the issueInstant on the T.Bildet den issueInstant im T.- Specified by:
issueInstant
in interfaceBaseBuilder<AuthnRequestBuilder>
- Parameters:
aIssueInstant
-the issueInstant to be setder issueInstant der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
issuer
Builds the Issuer element on the T.Buildet das Issuer element im T.- Specified by:
issuer
in interfaceBaseBuilder<AuthnRequestBuilder>
- Parameters:
aIssuer
-the issuer to be setder Issuer der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
nameIdPolicyAllowCreate
Builds the NameIDpolicy.AllowCreate attribute in the AuthnRequest.Bildet das NameIDpolicy.AllowCreate Attribut im AuthnRequest.- Specified by:
nameIdPolicyAllowCreate
in interfaceAuthnRequestBuilder
- Parameters:
aNameIdPolicyAllowCreate
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
nameIdPolicyFormat
Builds the NameIDpolicy.Format attribute in the AuthnRequest.Bildet das NameIDpolicy.Format Attribut im AuthnRequest.- Specified by:
nameIdPolicyFormat
in interfaceAuthnRequestBuilder
- Parameters:
aNameIdPolicyFormat
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
protocolBinding
Building the ProtocolBinding attribute in the AuthnRequest.Bildet das ProtocolBinding Attribut im AuthnRequest.- Specified by:
protocolBinding
in interfaceAuthnRequestBuilder
- Parameters:
aProtocolBinding
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
providerId
Builds the ProviderID attribute in the AuthnRequest.Bildet das ProviderID Attribut im AuthnRequest.- Specified by:
providerId
in interfaceAuthnRequestBuilder
- Parameters:
aProviderID
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
providerName
Building the provider name on the AuthnRequest.Bildet das Proivider Namen im AuthnRequest.- Specified by:
providerName
in interfaceAuthnRequestBuilder
- Parameters:
aProviderName
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
subject
Builds the subject attribute in the AuthnRequest.Bildet das Subject Attribut im AuthnRequest.- Specified by:
subject
in interfaceAuthnRequestBuilder
- Parameters:
aSubject
-the value to be setder Wert der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
version
Builds the Version on the T.Buildet die Version im T.- Specified by:
version
in interfaceBaseBuilder<AuthnRequestBuilder>
- Parameters:
aVersion
-the issuer to be setder Issuer der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-