public class AssertionConsumerServiceBuilder extends AbstractSAMLObjectBuilder<AssertionConsumerService>
AssertionConsumerService
elements.Constructor and Description |
---|
AssertionConsumerServiceBuilder() |
Modifier and Type | Method and Description |
---|---|
AssertionConsumerServiceBuilder |
binding(String binding)
Assigns the binding of the service
|
static AssertionConsumerServiceBuilder |
builder()
Utility method that creates a builder.
|
protected Class<AssertionConsumerService> |
getObjectType()
Returns the object type.
|
AssertionConsumerServiceBuilder |
index(Integer index)
Assigns the index for the service.
|
AssertionConsumerServiceBuilder |
isDefault(Boolean def)
Sets the
isDefault attribute of the service. |
AssertionConsumerServiceBuilder |
location(String location)
Assigns the location URI.
|
AssertionConsumerServiceBuilder |
postBinding()
Shortcut for assigning the SAML POST binding to the service.
|
AssertionConsumerServiceBuilder |
redirectBinding()
Shortcut for assigning the SAML Redirect binding to the service.
|
build, object
public static AssertionConsumerServiceBuilder builder()
protected Class<AssertionConsumerService> getObjectType()
getObjectType
in class AbstractSAMLObjectBuilder<AssertionConsumerService>
public AssertionConsumerServiceBuilder location(String location)
location
- the URIpublic AssertionConsumerServiceBuilder binding(String binding)
binding
- the binding URIpostBinding()
,
redirectBinding()
public AssertionConsumerServiceBuilder postBinding()
binding(String)
public AssertionConsumerServiceBuilder redirectBinding()
binding(String)
public AssertionConsumerServiceBuilder index(Integer index)
index
- the indexpublic AssertionConsumerServiceBuilder isDefault(Boolean def)
isDefault
attribute of the service.def
- the BooleanCopyright © 2018 Litsec AB. All rights reserved.