Class ServiceEntityDescriptor
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
net.shibboleth.idp.cas.service.impl.ServiceEntityDescriptor
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,EntityDescriptor,SignableXMLObject
Adapts CAS protocol service metadata onto SAML metadata.
-
Field Summary
FieldsFields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAMEFields inherited from interface org.opensaml.saml.saml2.metadata.EntityDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ELEMENT_QNAME, ENTITY_ID_ATTRIB_NAME, ID_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME -
Constructor Summary
ConstructorsConstructorDescriptionServiceEntityDescriptor(Service service) Creates a new instance that wraps the given CAS service. -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeAuthorityDescriptor(String supportedProtocol) getAuthnAuthorityDescriptor(String supportedProtocol) getID()getIDPSSODescriptor(String supportedProtocol) getPDPDescriptor(String supportedProtocol) getRoleDescriptors(QName typeOrName) getRoleDescriptors(QName typeOrName, String supportedProtocol) getSPSSODescriptor(String supportedProtocol) booleanisSigned()booleanisValid()voidsetAffiliationDescriptor(AffiliationDescriptor descriptor) voidsetCacheDuration(Duration duration) ThrowsUnsupportedOperationException.voidsetEntityID(String id) ThrowsUnsupportedOperationException.voidsetExtensions(Extensions extensions) ThrowsUnsupportedOperationException.voidThrowsUnsupportedOperationException.voidsetOrganization(Organization organization) ThrowsUnsupportedOperationException.voidsetSignature(Signature newSignature) ThrowsUnsupportedOperationException.voidsetValidUntil(Instant validUntil) Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
svc
Underlying CAS service.
-
-
Constructor Details
-
ServiceEntityDescriptor
Creates a new instance that wraps the given CAS service.- Parameters:
service- CAS service metadata object.
-
-
Method Details
-
getEntityID
- Specified by:
getEntityIDin interfaceEntityDescriptor
-
setEntityID
ThrowsUnsupportedOperationException.- Specified by:
setEntityIDin interfaceEntityDescriptor
-
getID
- Specified by:
getIDin interfaceEntityDescriptor
-
setID
ThrowsUnsupportedOperationException.- Specified by:
setIDin interfaceEntityDescriptor
-
getExtensions
- Specified by:
getExtensionsin interfaceEntityDescriptor
-
setExtensions
ThrowsUnsupportedOperationException.- Specified by:
setExtensionsin interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptorsin interfaceEntityDescriptor
-
getIDPSSODescriptor
- Specified by:
getIDPSSODescriptorin interfaceEntityDescriptor
-
getSPSSODescriptor
- Specified by:
getSPSSODescriptorin interfaceEntityDescriptor
-
getAuthnAuthorityDescriptor
- Specified by:
getAuthnAuthorityDescriptorin interfaceEntityDescriptor
-
getAttributeAuthorityDescriptor
- Specified by:
getAttributeAuthorityDescriptorin interfaceEntityDescriptor
-
getPDPDescriptor
- Specified by:
getPDPDescriptorin interfaceEntityDescriptor
-
getAffiliationDescriptor
- Specified by:
getAffiliationDescriptorin interfaceEntityDescriptor
-
setAffiliationDescriptor
- Specified by:
setAffiliationDescriptorin interfaceEntityDescriptor
-
getOrganization
- Specified by:
getOrganizationin interfaceEntityDescriptor
-
setOrganization
ThrowsUnsupportedOperationException.- Specified by:
setOrganizationin interfaceEntityDescriptor
-
getContactPersons
- Specified by:
getContactPersonsin interfaceEntityDescriptor
-
getAdditionalMetadataLocations
- Specified by:
getAdditionalMetadataLocationsin interfaceEntityDescriptor
-
getUnknownAttributes
- Specified by:
getUnknownAttributesin interfaceAttributeExtensibleXMLObject
-
getCacheDuration
- Specified by:
getCacheDurationin interfaceCacheableSAMLObject
-
setCacheDuration
ThrowsUnsupportedOperationException.- Specified by:
setCacheDurationin interfaceCacheableSAMLObject
-
getSignatureReferenceID
- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
isSigned
public boolean isSigned()- Specified by:
isSignedin interfaceSignableXMLObject
-
getSignature
- Specified by:
getSignaturein interfaceSignableXMLObject
-
setSignature
ThrowsUnsupportedOperationException.- Specified by:
setSignaturein interfaceSignableXMLObject
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceTimeBoundSAMLObject
-
getValidUntil
- Specified by:
getValidUntilin interfaceTimeBoundSAMLObject
-
setValidUntil
- Specified by:
setValidUntilin interfaceTimeBoundSAMLObject
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-