public abstract class AbstractMetadataDelegate extends Object implements org.opensaml.saml2.metadata.provider.ObservableMetadataProvider
Constructor and Description |
---|
AbstractMetadataDelegate(org.opensaml.saml2.metadata.provider.MetadataProvider delegate)
Default constructor assigning the delegate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality is based on the object this class delegates to.
|
org.opensaml.saml2.metadata.provider.MetadataProvider |
getDelegate() |
org.opensaml.saml2.metadata.EntitiesDescriptor |
getEntitiesDescriptor(String name) |
org.opensaml.saml2.metadata.EntityDescriptor |
getEntityDescriptor(String entityID) |
org.opensaml.xml.XMLObject |
getMetadata() |
org.opensaml.saml2.metadata.provider.MetadataFilter |
getMetadataFilter() |
List<org.opensaml.saml2.metadata.provider.ObservableMetadataProvider.Observer> |
getObservers() |
List<org.opensaml.saml2.metadata.RoleDescriptor> |
getRole(String entityID,
QName roleName) |
org.opensaml.saml2.metadata.RoleDescriptor |
getRole(String entityID,
QName roleName,
String supportedProtocol) |
int |
hashCode() |
boolean |
requireValidMetadata() |
void |
setMetadataFilter(org.opensaml.saml2.metadata.provider.MetadataFilter newFilter) |
void |
setRequireValidMetadata(boolean requireValidMetadata) |
public AbstractMetadataDelegate(org.opensaml.saml2.metadata.provider.MetadataProvider delegate)
delegate
- delegate to use, can't be nullpublic boolean requireValidMetadata()
requireValidMetadata
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
public void setRequireValidMetadata(boolean requireValidMetadata)
setRequireValidMetadata
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
public org.opensaml.saml2.metadata.provider.MetadataFilter getMetadataFilter()
getMetadataFilter
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
public void setMetadataFilter(org.opensaml.saml2.metadata.provider.MetadataFilter newFilter) throws org.opensaml.saml2.metadata.provider.MetadataProviderException
setMetadataFilter
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public org.opensaml.xml.XMLObject getMetadata() throws org.opensaml.saml2.metadata.provider.MetadataProviderException
getMetadata
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public org.opensaml.saml2.metadata.EntitiesDescriptor getEntitiesDescriptor(String name) throws org.opensaml.saml2.metadata.provider.MetadataProviderException
getEntitiesDescriptor
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public org.opensaml.saml2.metadata.EntityDescriptor getEntityDescriptor(String entityID) throws org.opensaml.saml2.metadata.provider.MetadataProviderException
getEntityDescriptor
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public List<org.opensaml.saml2.metadata.RoleDescriptor> getRole(String entityID, QName roleName) throws org.opensaml.saml2.metadata.provider.MetadataProviderException
getRole
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public org.opensaml.saml2.metadata.RoleDescriptor getRole(String entityID, QName roleName, String supportedProtocol) throws org.opensaml.saml2.metadata.provider.MetadataProviderException
getRole
in interface org.opensaml.saml2.metadata.provider.MetadataProvider
org.opensaml.saml2.metadata.provider.MetadataProviderException
public List<org.opensaml.saml2.metadata.provider.ObservableMetadataProvider.Observer> getObservers()
getObservers
in interface org.opensaml.saml2.metadata.provider.ObservableMetadataProvider
public org.opensaml.saml2.metadata.provider.MetadataProvider getDelegate()
public boolean equals(Object obj)