Class SingleLogoutServiceBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.SingleLogoutService>
se.swedenconnect.opensaml.saml2.metadata.build.SingleLogoutServiceBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<org.opensaml.saml.saml2.metadata.SingleLogoutService>
public class SingleLogoutServiceBuilder
extends AbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.SingleLogoutService>
A builder for
SingleLogoutService
elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAssigns the binding of the servicestatic SingleLogoutServiceBuilder
builder()
Utility method that creates a builder.protected Class
<org.opensaml.saml.saml2.metadata.SingleLogoutService> Returns the object type.Assigns the location URI.Shortcut for assigning the SAML POST binding to the service.Shortcut for assigning the SAML Redirect binding to the service.responseLocation
(String responseLocation) Assigns the response location URI.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
SingleLogoutServiceBuilder
public SingleLogoutServiceBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
location
Assigns the location URI.- Parameters:
location
- the URI- Returns:
- the builder
-
responseLocation
Assigns the response location URI.- Parameters:
responseLocation
- the URI- Returns:
- the builder
-
binding
Assigns the binding of the service- Parameters:
binding
- the binding URI- Returns:
- the builder
- See Also:
-
postBinding
Shortcut for assigning the SAML POST binding to the service.- Returns:
- the builder
- See Also:
-
redirectBinding
Shortcut for assigning the SAML Redirect binding to the service.- Returns:
- the builder
- See Also:
-
getObjectType
Returns the object type.- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<org.opensaml.saml.saml2.metadata.SingleLogoutService>
- Returns:
- the object type
-