|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SamlEntityConfigurationApi
API for the configuration of a SAML entity (i.e. a SAML Identity Provider or SAML Service Provider)
| Method Summary | |
|---|---|
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)
See getPreferredBinding() |
void |
setSigningKey(String keyStoreUrl,
String keyStorePass,
String signingKeyAlias,
String signingKeyPass)
Sets the key that is used to sign outgoing messages. |
| Methods inherited from interface org.jboss.seam.security.external.api.EntityConfigurationApi |
|---|
getHostName, getPort, getProtocol, setHostName, setPort, setProtocol |
| Method Detail |
|---|
String getEntityId()
void setEntityId(String entityId)
entityId - SamlBinding getPreferredBinding()
SamlBinding.HTTP_Post
void setPreferredBinding(SamlBinding preferredBinding)
getPreferredBinding()
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 added
SamlExternalEntity getExternalSamlEntityByEntityId(String entityId)
addExternalSamlEntity(java.io.Reader).
entityId - the id of the entity
List<SamlExternalEntity> getExternalSamlEntities()
addExternalSamlEntity(java.io.Reader).
String getMetaDataURL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||