|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.security.external.EntityBean
org.jboss.seam.security.external.saml.SamlEntityBean
public abstract class SamlEntityBean
| Field Summary | |
|---|---|
protected JAXBContext |
metaDataJaxbContext
|
| Fields inherited from class org.jboss.seam.security.external.EntityBean |
|---|
hostName, port, protocol |
| Constructor Summary | |
|---|---|
SamlEntityBean()
|
|
| Method Summary | |
|---|---|
abstract 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. |
protected void |
addKeyDescriptorToMetaData(SSODescriptorType ssoDescriptor)
|
protected void |
addNameIDFormatsToMetaData(SSODescriptorType idpSsoDescriptor)
|
protected void |
addSloEndpointsToMetaData(SSODescriptorType ssoDescriptor)
|
String |
getEntityId()
The unique identification of this SAML Entity. |
abstract List<SamlExternalEntity> |
getExternalSamlEntities()
Gets a list of all external entities that have been added previously by calling SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
abstract SamlExternalEntity |
getExternalSamlEntityByEntityId(String entityId)
Gets the detailed of a trusted external entity, that has been added previously by calling SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
abstract SamlIdpOrSp |
getIdpOrSp()
|
String |
getMetaDataURL()
Gets the URL where the meta data of this entity is served. |
Map<String,SSODescriptorType> |
getMetaInfo()
|
SamlBinding |
getPreferredBinding()
The preferred SAML protocol binding. |
String |
getServiceURL(SamlServiceType service)
|
protected SamlSigningKey |
getSigningKey()
|
boolean |
isSingleLogoutMessagesSigned()
|
boolean |
isWantSingleLogoutMessagesSigned()
|
protected void |
readEntitiesDescriptor(Reader reader)
|
protected EntityDescriptorType |
readEntityDescriptor(Reader metaInfoReader)
|
void |
setEntityId(String entityId)
|
void |
setPreferredBinding(SamlBinding preferredBinding)
See SamlEntityConfigurationApi.getPreferredBinding() |
void |
setSigningKey(String keyStoreUrl,
String keyStorePass,
String signingKeyAlias,
String signingKeyPass)
Sets the key that is used to sign outgoing messages. |
void |
setSingleLogoutMessagesSigned(boolean singleLogoutMessagesSigned)
|
void |
setWantSingleLogoutMessagesSigned(boolean wantSingleLogoutMessagesSigned)
|
abstract void |
writeMetaData(Writer writer)
|
| Methods inherited from class org.jboss.seam.security.external.EntityBean |
|---|
createURL, getHostName, getPort, getProtocol, setHostName, setPort, setProtocol |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.seam.security.external.api.EntityConfigurationApi |
|---|
getHostName, getPort, getProtocol, setHostName, setPort, setProtocol |
| Field Detail |
|---|
@Inject protected JAXBContext metaDataJaxbContext
| Constructor Detail |
|---|
public SamlEntityBean()
| Method Detail |
|---|
public String getServiceURL(SamlServiceType service)
public String getMetaDataURL()
SamlEntityConfigurationApi
getMetaDataURL in interface SamlEntityConfigurationApipublic void setEntityId(String entityId)
SamlEntityConfigurationApi
setEntityId in interface SamlEntityConfigurationApipublic String getEntityId()
SamlEntityConfigurationApi
getEntityId in interface SamlEntityConfigurationApiprotected SamlSigningKey getSigningKey()
public void setSigningKey(String keyStoreUrl,
String keyStorePass,
String signingKeyAlias,
String signingKeyPass)
SamlEntityConfigurationApi
setSigningKey in interface SamlEntityConfigurationApikeyStoreUrl - 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 keypublic boolean isSingleLogoutMessagesSigned()
public void setSingleLogoutMessagesSigned(boolean singleLogoutMessagesSigned)
public boolean isWantSingleLogoutMessagesSigned()
public void setWantSingleLogoutMessagesSigned(boolean wantSingleLogoutMessagesSigned)
public abstract SamlIdpOrSp getIdpOrSp()
public abstract SamlExternalEntity getExternalSamlEntityByEntityId(String entityId)
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).
getExternalSamlEntityByEntityId in interface SamlEntityConfigurationApientityId - the id of the entity
public abstract SamlExternalEntity addExternalSamlEntity(Reader reader)
SamlEntityConfigurationApiSamlEntityConfigurationApi.getMetaDataURL().
addExternalSamlEntity in interface SamlEntityConfigurationApireader - reader that reads the meta information of the entry that
needs to be added
public abstract List<SamlExternalEntity> getExternalSamlEntities()
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).
getExternalSamlEntities in interface SamlEntityConfigurationApiprotected void readEntitiesDescriptor(Reader reader)
public Map<String,SSODescriptorType> getMetaInfo()
protected EntityDescriptorType readEntityDescriptor(Reader metaInfoReader)
public abstract void writeMetaData(Writer writer)
protected void addKeyDescriptorToMetaData(SSODescriptorType ssoDescriptor)
protected void addSloEndpointsToMetaData(SSODescriptorType ssoDescriptor)
protected void addNameIDFormatsToMetaData(SSODescriptorType idpSsoDescriptor)
public SamlBinding getPreferredBinding()
SamlEntityConfigurationApiSamlBinding.HTTP_Post
getPreferredBinding in interface SamlEntityConfigurationApipublic void setPreferredBinding(SamlBinding preferredBinding)
SamlEntityConfigurationApiSamlEntityConfigurationApi.getPreferredBinding()
setPreferredBinding in interface SamlEntityConfigurationApi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||