T - the type of builder being usedpublic abstract class AbstractEntityDescriptorFactoryBean<T extends AbstractEntityDescriptorBuilder<?>> extends AbstractSAMLObjectBuilderFactoryBean<EntityDescriptor>
EntityDescriptor objects.| Constructor and Description |
|---|
AbstractEntityDescriptorFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
_builder()
Returns the internal builder of the correct type.
|
Class<?> |
getObjectType() |
void |
setCacheDuration(Long cacheDuration)
Assigns the cacheDuration attribute for the
EntityDescriptor. |
void |
setContactPersons(List<ContactPerson> contactPersons)
Assigns the
ContactPerson elements to the entity descriptor. |
void |
setEntityAttributesExtension(List<Attribute> attributes)
Adds attributes to the
mdattr:EntityAttributes element that is part of the metadata extension element. |
void |
setEntityCategories(List<String> entityCategories)
Adds a set of entity categories to the entity category attribute (
http://macedir.org/entity-category) that
is part of the mdattr:EntityAttributes element that is part of the metadata extension element. |
void |
setEntityID(String entityID)
Assigns the entityID for the
EntityDescriptor. |
void |
setID(String id)
Assigns the ID attribute for the
EntityDescriptor. |
void |
setKeyDescriptors(List<KeyDescriptor> keyDescriptors)
Adds the key descriptor elements.
|
void |
setNameIDFormats(List<String> nameIDFormats)
Assigns the
md:NameIDFormat elements. |
void |
setOrganization(Organization organization)
Assigns the
Organization element to the entity descriptor. |
void |
setSingleLogoutServices(List<SingleLogoutService> singleLogoutServices)
Adds
md:SingleLogoutService elements to the SSODescriptor. |
void |
setUiInfoExtension(UIInfo uiInfo)
Assigns the
mdui:UIInfo element as an extension to the role descriptor. |
void |
setValidUntil(org.joda.time.DateTime time)
Assigns the valid until time.
|
void |
setValidUntil(LocalDateTime time)
Assigns the valid until time (using the local time zone).
|
builder, createInstance, localizedStringListToVarArgs, stringListToVarArgs, toVarArgsprotected abstract T _builder()
public void setEntityID(String entityID)
EntityDescriptor.entityID - the entityIDpublic void setID(String id)
EntityDescriptor.id - the IDpublic void setCacheDuration(Long cacheDuration)
EntityDescriptor.cacheDuration - the cache duration (in milliseconds)public void setValidUntil(org.joda.time.DateTime time)
time - valid untilpublic void setValidUntil(LocalDateTime time)
time - valid untilpublic void setEntityAttributesExtension(List<Attribute> attributes)
mdattr:EntityAttributes element that is part of the metadata extension element.attributes - a list of attributessetEntityCategories(List)public void setEntityCategories(List<String> entityCategories)
http://macedir.org/entity-category) that
is part of the mdattr:EntityAttributes element that is part of the metadata extension element.entityCategories - the entity category values that should be addedsetEntityAttributesExtension(List)public void setUiInfoExtension(UIInfo uiInfo)
mdui:UIInfo element as an extension to the role descriptor.uiInfo - the UIInfo element (will be cloned before assignment)public void setKeyDescriptors(List<KeyDescriptor> keyDescriptors)
keyDescriptors - the key descriptorspublic void setNameIDFormats(List<String> nameIDFormats)
md:NameIDFormat elements.nameIDFormats - the nameID format stringspublic void setSingleLogoutServices(List<SingleLogoutService> singleLogoutServices)
md:SingleLogoutService elements to the SSODescriptor.singleLogoutServices - single logout service objects (cloned before assignment)public void setOrganization(Organization organization)
Organization element to the entity descriptor.organization - the organization (will be cloned before assignment)public void setContactPersons(List<ContactPerson> contactPersons)
ContactPerson elements to the entity descriptor.contactPersons - the contact person elements (will be cloned before assignment)public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<EntityDescriptor>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<EntityDescriptor>Copyright © 2018 Litsec AB. All rights reserved.