public class ScopingBuilder extends AbstractSAMLObjectBuilder<Scoping>
Scoping
elements.Constructor and Description |
---|
ScopingBuilder() |
Modifier and Type | Method and Description |
---|---|
static ScopingBuilder |
builder()
Utility method that creates a builder.
|
protected Class<Scoping> |
getObjectType()
Returns the object type.
|
static IDPEntry |
idpEntry(String providerID,
String name,
String loc)
Creates an
IDPEntry element. |
ScopingBuilder |
idpList(String completeUri,
IDPEntry... idpEntries) |
ScopingBuilder |
idpList(String completeUri,
List<IDPEntry> idpEntries)
Adds the
IDPList element. |
ScopingBuilder |
proxyCount(Integer count)
Assigns the
ProxyCount attribute. |
ScopingBuilder |
requesterIDs(List<String> ids)
Assigns
RequesterID elements. |
ScopingBuilder |
requesterIDs(String... ids) |
build, object
public static ScopingBuilder builder()
public ScopingBuilder proxyCount(Integer count)
ProxyCount
attribute.count
- the proxy countpublic ScopingBuilder idpList(String completeUri, List<IDPEntry> idpEntries)
IDPList
element.completeUri
- the GetComplete
element of the IDPList
elementidpEntries
- the IDPEntry
elements of the IDPList
elementpublic ScopingBuilder idpList(String completeUri, IDPEntry... idpEntries)
completeUri
- the GetComplete
element of the IDPList
elementidpEntries
- the IDPEntry
elements of the IDPList
elementidpList(String, List)
public static IDPEntry idpEntry(String providerID, String name, String loc)
IDPEntry
element.providerID
- the ProviderID
attributename
- the Name
attributeloc
- the Loc
attributeIDPEntry
elementpublic ScopingBuilder requesterIDs(List<String> ids)
RequesterID
elements.ids
- the RequesterID
elements to addpublic ScopingBuilder requesterIDs(String... ids)
ids
- the RequesterID
elements to addrequesterIDs(List)
protected Class<Scoping> getObjectType()
getObjectType
in class AbstractSAMLObjectBuilder<Scoping>
Copyright © 2018 Litsec AB. All rights reserved.