Interface Endpoint
- All Superinterfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject
,org.opensaml.saml.common.SAMLObject
,org.opensaml.core.xml.XMLObject
- All Known Implementing Classes:
EndpointImpl
public interface Endpoint
extends org.opensaml.saml.common.SAMLObject, org.opensaml.core.xml.AttributeExtensibleXMLObject
Definition of the
MsEndpointType
type.
The following schema fragment defines the MsEndpointType complex type:
<xs:complexType name="MsEndpointType">
<xs:annotation>
<xs:documentation>
Defines a member state "endpoint" (eIDAS node).
</xs:documentation>
</xs:annotation>
<xs:attribute name="EndpointType" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>
The type of endpoint. Currently defined URI:s are:
http://eidas.europa.eu/metadata/ept/ProxyService for an eIDAS Proxy Service, and,
http://eidas.europa.eu/metadata/ept/Connector for an eIDAS Connector.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="EntityID" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>
The SAML entityID of the endpoint. For an eIDAS connector this is the entityID for
the SP-part of the node, and for an eIDAS Proxy Service this is the entityID for the
IdP-part of the node.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute namespace="##any" processContents="lax" />
</xs:complexType>
- Author:
- Martin Lindström
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Identifier for a connector endpoint type.static final String
Name of the element.static final QName
Default element name.static final String
Attribute label for the Location attribute.static final String
Attribute label for the Location attribute.static final String
Identifier for a proxy service endpoint type.static final String
Local name of the XSI type.static final QName
QName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the endpoint type URI.Returns the entityID for the endpoint.boolean
For the Swedish eIDAS configuration, theHideFromDiscovery
attribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view".boolean
For the Swedish eIDAS configuration, theSuspend
attribute is used to indicate whether an endpoint has been suspended.void
setEndpointType
(String endpointType) Assigns the endpoint type URI.void
setEntityID
(String entityID) Assigns the entityID for the endpoint.void
setHideFromDiscovery
(boolean hideFlag) Assigns theHideFromDiscovery
attribute.void
setSuspend
(boolean suspendFlag) Assigns theSuspend
attribute.Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
ENDPOINT_TYPE_ATTR_NAME
Attribute label for the Location attribute.- See Also:
-
ENTITY_ID_ATTR_NAME
Attribute label for the Location attribute.- See Also:
-
PROXY_SERVICE_ENDPOINT_TYPE
Identifier for a proxy service endpoint type.- See Also:
-
CONNECTOR_ENDPOINT_TYPE
Identifier for a connector endpoint type.- See Also:
-
-
Method Details
-
getEndpointType
String getEndpointType()Returns the endpoint type URI.- Returns:
- the endpoint type
-
setEndpointType
Assigns the endpoint type URI.- Parameters:
endpointType
- the endpoint type
-
getEntityID
String getEntityID()Returns the entityID for the endpoint.- Returns:
- the entityID
-
setEntityID
Assigns the entityID for the endpoint.- Parameters:
entityID
- the entityID
-
getSuspend
boolean getSuspend()For the Swedish eIDAS configuration, theSuspend
attribute is used to indicate whether an endpoint has been suspended. This method is just a shortcut instead of usingAttributeExtensibleXMLObject.getUnknownAttributes()
.- Returns:
- if the
Suspend
attribute has been set totrue
this method returnstrue
, otherwisefalse
-
setSuspend
void setSuspend(boolean suspendFlag) Assigns theSuspend
attribute. SeegetSuspend()
.- Parameters:
suspendFlag
- the suspend flag
-
getHideFromDiscovery
boolean getHideFromDiscovery()For the Swedish eIDAS configuration, theHideFromDiscovery
attribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view". This method is just a shortcut instead of usingAttributeExtensibleXMLObject.getUnknownAttributes()
.- Returns:
- if the
HideFromDiscovery
attribute has been set totrue
this method returnstrue
, otherwisefalse
-
setHideFromDiscovery
void setHideFromDiscovery(boolean hideFlag) Assigns theHideFromDiscovery
attribute. SeegetHideFromDiscovery()
.- Parameters:
hideFlag
- the "HideFromDiscovery" flag
-