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_QNAME
Fields 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_NAME
Fields 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) boolean
isSigned()
boolean
isValid()
void
setAffiliationDescriptor
(AffiliationDescriptor descriptor) void
setCacheDuration
(Duration duration) ThrowsUnsupportedOperationException
.void
setEntityID
(String id) ThrowsUnsupportedOperationException
.void
setExtensions
(Extensions extensions) ThrowsUnsupportedOperationException
.void
ThrowsUnsupportedOperationException
.void
setOrganization
(Organization organization) ThrowsUnsupportedOperationException
.void
setSignature
(Signature newSignature) ThrowsUnsupportedOperationException
.void
setValidUntil
(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, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getEntityID
in interfaceEntityDescriptor
-
setEntityID
ThrowsUnsupportedOperationException
.- Specified by:
setEntityID
in interfaceEntityDescriptor
-
getID
- Specified by:
getID
in interfaceEntityDescriptor
-
setID
ThrowsUnsupportedOperationException
.- Specified by:
setID
in interfaceEntityDescriptor
-
getExtensions
- Specified by:
getExtensions
in interfaceEntityDescriptor
-
setExtensions
ThrowsUnsupportedOperationException
.- Specified by:
setExtensions
in interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptors
in interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptors
in interfaceEntityDescriptor
-
getRoleDescriptors
- Specified by:
getRoleDescriptors
in interfaceEntityDescriptor
-
getIDPSSODescriptor
- Specified by:
getIDPSSODescriptor
in interfaceEntityDescriptor
-
getSPSSODescriptor
- Specified by:
getSPSSODescriptor
in interfaceEntityDescriptor
-
getAuthnAuthorityDescriptor
- Specified by:
getAuthnAuthorityDescriptor
in interfaceEntityDescriptor
-
getAttributeAuthorityDescriptor
- Specified by:
getAttributeAuthorityDescriptor
in interfaceEntityDescriptor
-
getPDPDescriptor
- Specified by:
getPDPDescriptor
in interfaceEntityDescriptor
-
getAffiliationDescriptor
- Specified by:
getAffiliationDescriptor
in interfaceEntityDescriptor
-
setAffiliationDescriptor
- Specified by:
setAffiliationDescriptor
in interfaceEntityDescriptor
-
getOrganization
- Specified by:
getOrganization
in interfaceEntityDescriptor
-
setOrganization
ThrowsUnsupportedOperationException
.- Specified by:
setOrganization
in interfaceEntityDescriptor
-
getContactPersons
- Specified by:
getContactPersons
in interfaceEntityDescriptor
-
getAdditionalMetadataLocations
- Specified by:
getAdditionalMetadataLocations
in interfaceEntityDescriptor
-
getUnknownAttributes
- Specified by:
getUnknownAttributes
in interfaceAttributeExtensibleXMLObject
-
getCacheDuration
- Specified by:
getCacheDuration
in interfaceCacheableSAMLObject
-
setCacheDuration
ThrowsUnsupportedOperationException
.- Specified by:
setCacheDuration
in interfaceCacheableSAMLObject
-
getSignatureReferenceID
- Specified by:
getSignatureReferenceID
in interfaceSignableSAMLObject
-
isSigned
public boolean isSigned()- Specified by:
isSigned
in interfaceSignableXMLObject
-
getSignature
- Specified by:
getSignature
in interfaceSignableXMLObject
-
setSignature
ThrowsUnsupportedOperationException
.- Specified by:
setSignature
in interfaceSignableXMLObject
-
isValid
public boolean isValid()- Specified by:
isValid
in interfaceTimeBoundSAMLObject
-
getValidUntil
- Specified by:
getValidUntil
in interfaceTimeBoundSAMLObject
-
setValidUntil
- Specified by:
setValidUntil
in interfaceTimeBoundSAMLObject
-
getOrderedChildren
- Specified by:
getOrderedChildren
in interfaceXMLObject
-