Class ScopingBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<Scoping>
se.swedenconnect.opensaml.saml2.core.build.ScopingBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<Scoping>
Builder class for
Scoping elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScopingBuilderbuilder()Utility method that creates a builder.Returns the object type.static IDPEntryCreates anIDPEntryelement.Adds theIDPListelement.proxyCount(Integer count) Assigns theProxyCountattribute.requesterIDs(String... ids) SeerequesterIDs(List).requesterIDs(List<String> ids) AssignsRequesterIDelements.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
ScopingBuilder
public ScopingBuilder()
-
-
Method Details
-
builder
Utility method that creates a builder.- Returns:
- a builder
-
proxyCount
Assigns theProxyCountattribute.- Parameters:
count- the proxy count- Returns:
- the builder
-
idpList
Adds theIDPListelement.- Parameters:
completeUri- the GetComplete element of the IDPList element (may be null)idpEntries- the IDPEntry elements of the IDPList element- Returns:
- the builder
-
idpList
- Parameters:
completeUri- the GetComplete element of the IDPList element (may be null)idpEntries- the IDPEntry elements of the IDPList element- Returns:
- the builder
-
idpEntry
Creates anIDPEntryelement.- Parameters:
providerID- the ProviderID attributename- the Name attributeloc- the Loc attribute- Returns:
- an IDPEntry element
-
requesterIDs
AssignsRequesterIDelements.- Parameters:
ids- the RequesterID elements to add- Returns:
- the builder
-
requesterIDs
SeerequesterIDs(List).- Parameters:
ids- the RequesterID elements to add- Returns:
- the builder
-
getObjectType
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<Scoping>- Returns:
- the object type
-