Class NameIDPolicyBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<NameIDPolicy>
se.swedenconnect.opensaml.saml2.core.build.NameIDPolicyBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<NameIDPolicy>
Builder class for
NameIDPolicy elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowCreate(Boolean allowCreate) Assigns theAllowCreateattribute to theNameIDPolicyelement.static NameIDPolicyBuilderbuilder()Utility method that creates a builder.Assigns theFormatattribute to theNameIDPolicyelement.protected Class<NameIDPolicy> Returns the object type.spNameQualifier(String spNameQualifier) Assigns theSPNameQualifierattribute to theNameIDPolicyelement.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
NameIDPolicyBuilder
public NameIDPolicyBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
format
Assigns theFormatattribute to theNameIDPolicyelement.- Parameters:
format- the format URI- Returns:
- the builder
-
spNameQualifier
Assigns theSPNameQualifierattribute to theNameIDPolicyelement.- Parameters:
spNameQualifier- the SP name qualifier- Returns:
- the builder
-
allowCreate
Assigns theAllowCreateattribute to theNameIDPolicyelement.- Parameters:
allowCreate- boolean flag- Returns:
- the builder
-
getObjectType
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<NameIDPolicy>- Returns:
- the object type
-