Class SingleLogoutServiceBuilder
- java.lang.Object
-
- se.litsec.opensaml.core.AbstractSAMLObjectBuilder<SingleLogoutService>
-
- se.litsec.opensaml.saml2.metadata.build.SingleLogoutServiceBuilder
-
- All Implemented Interfaces:
SAMLObjectBuilder<SingleLogoutService>
public class SingleLogoutServiceBuilder extends AbstractSAMLObjectBuilder<SingleLogoutService>
A builder forSingleLogoutServiceelements.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description SingleLogoutServiceBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleLogoutServiceBuilderbinding(String binding)Assigns the binding of the servicestatic SingleLogoutServiceBuilderbuilder()Utility method that creates a builder.protected Class<SingleLogoutService>getObjectType()Returns the object type.SingleLogoutServiceBuilderlocation(String location)Assigns the location URI.SingleLogoutServiceBuilderpostBinding()Shortcut for assigning the SAML POST binding to the service.SingleLogoutServiceBuilderredirectBinding()Shortcut for assigning the SAML Redirect binding to the service.SingleLogoutServiceBuilderresponseLocation(String responseLocation)Assigns the response location URI.-
Methods inherited from class se.litsec.opensaml.core.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
-
-
-
Method Detail
-
builder
public static SingleLogoutServiceBuilder builder()
Utility method that creates a builder.- Returns:
- a builder
-
location
public SingleLogoutServiceBuilder location(String location)
Assigns the location URI.- Parameters:
location- the URI- Returns:
- the builder
-
responseLocation
public SingleLogoutServiceBuilder responseLocation(String responseLocation)
Assigns the response location URI.- Parameters:
responseLocation- the URI- Returns:
- the builder
-
binding
public SingleLogoutServiceBuilder binding(String binding)
Assigns the binding of the service- Parameters:
binding- the binding URI- Returns:
- the builder
- See Also:
postBinding(),redirectBinding()
-
postBinding
public SingleLogoutServiceBuilder postBinding()
Shortcut for assigning the SAML POST binding to the service.- Returns:
- the builder
- See Also:
binding(String)
-
redirectBinding
public SingleLogoutServiceBuilder redirectBinding()
Shortcut for assigning the SAML Redirect binding to the service.- Returns:
- the builder
- See Also:
binding(String)
-
getObjectType
protected Class<SingleLogoutService> getObjectType()
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<SingleLogoutService>- Returns:
- the object type
-
-