Interface Endpoint
-
- All Superinterfaces:
AttributeExtensibleXMLObject,SAMLObject,XMLObject
- All Known Implementing Classes:
EndpointImpl
public interface Endpoint extends SAMLObject, AttributeExtensibleXMLObject
Definition of theMsEndpointTypetype. 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 (martin.lindstrom@litsec.se)
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECTOR_ENDPOINT_TYPEIdentifier for a connector endpoint type.static StringDEFAULT_ELEMENT_LOCAL_NAMEName of the element.static QNameDEFAULT_ELEMENT_NAMEDefault element name.static StringENDPOINT_TYPE_ATTR_NAMEAttribute label for the Location attribute.static StringENTITY_ID_ATTR_NAMEAttribute label for the Location attribute.static StringPROXY_SERVICE_ENDPOINT_TYPEIdentifier for a proxy service endpoint type.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndpointType()Returns the endpoint type URI.StringgetEntityID()Returns the entityID for the endpoint.booleangetHideFromDiscovery()For the Swedish eIDAS configuration, theHideFromDiscoveryattribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view".booleangetSuspend()For the Swedish eIDAS configuration, theSuspendattribute is used to indicate whether an endpoint has been suspended.voidsetEndpointType(String endpointType)Assigns the endpoint type URI.voidsetEntityID(String entityID)Assigns the entityID for the endpoint.voidsetHideFromDiscovery(boolean hideFlag)Assigns theHideFromDiscoveryattribute.voidsetSuspend(boolean suspendFlag)Assigns theSuspendattribute.-
Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
Default element name.
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
ENDPOINT_TYPE_ATTR_NAME
static final String ENDPOINT_TYPE_ATTR_NAME
Attribute label for the Location attribute.- See Also:
- Constant Field Values
-
ENTITY_ID_ATTR_NAME
static final String ENTITY_ID_ATTR_NAME
Attribute label for the Location attribute.- See Also:
- Constant Field Values
-
PROXY_SERVICE_ENDPOINT_TYPE
static final String PROXY_SERVICE_ENDPOINT_TYPE
Identifier for a proxy service endpoint type.- See Also:
- Constant Field Values
-
CONNECTOR_ENDPOINT_TYPE
static final String CONNECTOR_ENDPOINT_TYPE
Identifier for a connector endpoint type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEndpointType
String getEndpointType()
Returns the endpoint type URI.- Returns:
- the endpoint type
-
setEndpointType
void setEndpointType(String endpointType)
Assigns the endpoint type URI.- Parameters:
endpointType- the endpoint type
-
getEntityID
String getEntityID()
Returns the entityID for the endpoint.- Returns:
- the entityID
-
setEntityID
void setEntityID(String entityID)
Assigns the entityID for the endpoint.- Parameters:
entityID- the entityID
-
getSuspend
boolean getSuspend()
For the Swedish eIDAS configuration, theSuspendattribute is used to indicate whether an endpoint has been suspended. This method is just a shortcut instead of usingAttributeExtensibleXMLObject.getUnknownAttributes().- Returns:
- if the
Suspendattribute has been set totruethis method returnstrue, otherwisefalse
-
setSuspend
void setSuspend(boolean suspendFlag)
Assigns theSuspendattribute. SeegetSuspend().- Parameters:
suspendFlag- the suspend flag
-
getHideFromDiscovery
boolean getHideFromDiscovery()
For the Swedish eIDAS configuration, theHideFromDiscoveryattribute 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
HideFromDiscoveryattribute has been set totruethis method returnstrue, otherwisefalse
-
setHideFromDiscovery
void setHideFromDiscovery(boolean hideFlag)
Assigns theHideFromDiscoveryattribute. SeegetHideFromDiscovery().- Parameters:
hideFlag- the "HideFromDiscovery" flag
-
-