public interface SamlEntityConfigurationApi extends EntityConfigurationApi
| Modifier and Type | Method and Description |
|---|---|
SamlExternalEntity |
addExternalSamlEntity(Reader reader)
This method can be used to add an external SAML entity that is trusted by
the entity that is being configured.
|
String |
getEntityId()
The unique identification of this SAML Entity.
|
List<SamlExternalEntity> |
getExternalSamlEntities()
Gets a list of all external entities that have been added previously by
calling
addExternalSamlEntity(java.io.Reader). |
SamlExternalEntity |
getExternalSamlEntityByEntityId(String entityId)
Gets the detailed of a trusted external entity, that has been added
previously by calling
addExternalSamlEntity(java.io.Reader). |
String |
getMetaDataURL()
Gets the URL where the meta data of this entity is served.
|
SamlBinding |
getPreferredBinding()
The preferred SAML protocol binding.
|
void |
setEntityId(String entityId) |
void |
setPreferredBinding(SamlBinding preferredBinding)
|
void |
setSigningKey(String keyStoreUrl,
String keyStorePass,
String signingKeyAlias,
String signingKeyPass)
Sets the key that is used to sign outgoing messages.
|
getHostName, getPort, getProtocol, setHostName, setPort, setProtocolString getEntityId()
void setEntityId(String entityId)
entityId - SamlBinding getPreferredBinding()
SamlBinding.HTTP_Postvoid setPreferredBinding(SamlBinding preferredBinding)
preferredBinding - void setSigningKey(String keyStoreUrl, String keyStorePass, String signingKeyAlias, String signingKeyPass)
keyStoreUrl - URL of the key store, which must have Java Key Store
(JKS) format; if it starts with "classpath://", the keystore
will be read from the given location within the classpathkeyStorePass - the password giving access to the key storesigningKeyAlias - the alias under which the private key is stored
that needs to be used for signing; the private key must be
either a DSA or an RSA keysigningKeyPass - the password that gives access to the private keySamlExternalEntity addExternalSamlEntity(Reader reader)
getMetaDataURL().reader - reader that reads the meta information of the entry that
needs to be addedSamlExternalEntity getExternalSamlEntityByEntityId(String entityId)
addExternalSamlEntity(java.io.Reader).entityId - the id of the entityList<SamlExternalEntity> getExternalSamlEntities()
addExternalSamlEntity(java.io.Reader).String getMetaDataURL()
Copyright © 2013 Seam Framework. All Rights Reserved.