|
||||||||||
| 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
org.jboss.seam.security.external.saml.sp.SamlSpBean
@Typed(value=SamlSpBean.class) public class SamlSpBean
| Field Summary |
|---|
| Fields inherited from class org.jboss.seam.security.external.saml.SamlEntityBean |
|---|
metaDataJaxbContext |
| Fields inherited from class org.jboss.seam.security.external.EntityBean |
|---|
hostName, port, protocol |
| Constructor Summary | |
|---|---|
SamlSpBean()
|
|
| Method Summary | |
|---|---|
SamlExternalIdentityProvider |
addExternalIdentityProvider(String entityId,
IDPSSODescriptorType idpSsoDescriptor)
|
SamlExternalIdentityProvider |
addExternalSamlEntity(Reader reader)
This method can be used to add an external SAML entity that is trusted by the entity that is being configured. |
List<SamlExternalEntity> |
getExternalSamlEntities()
Gets a list of all external entities that have been added previously by calling SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
SamlExternalIdentityProvider |
getExternalSamlEntityByEntityId(String entityId)
Gets the detailed of a trusted external entity, that has been added previously by calling SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
List<SamlExternalIdentityProvider> |
getIdentityProviders()
Returns a list with all identity providers that are trusted (i.e. |
SamlIdpOrSp |
getIdpOrSp()
|
Set<SamlSpSession> |
getSessions()
|
void |
globalLogout(SamlSpSession session,
HttpServletResponse response)
|
boolean |
isAuthnRequestsSigned()
If this property is enabled, all authentication requests targeted at identity providers will be signed. |
boolean |
isWantAssertionsSigned()
This property, which is enabled by default, determines whether incoming authentication responses from the identity provider are required to have a valid signature. |
void |
localLogout(SamlSpSession session)
|
void |
login(String idpEntityId,
HttpServletResponse response)
|
void |
setAuthnRequestsSigned(boolean authnRequestsSigned)
See SamlServiceProviderConfigurationApi.isAuthnRequestsSigned(). |
void |
setWantAssertionsSigned(boolean wantAssertionsSigned)
See SamlServiceProviderConfigurationApi.isWantAssertionsSigned(). |
void |
writeMetaData(Writer writer)
|
| Methods inherited from class org.jboss.seam.security.external.saml.SamlEntityBean |
|---|
addKeyDescriptorToMetaData, addNameIDFormatsToMetaData, addSloEndpointsToMetaData, getEntityId, getMetaDataURL, getMetaInfo, getPreferredBinding, getServiceURL, getSigningKey, isSingleLogoutMessagesSigned, isWantSingleLogoutMessagesSigned, readEntitiesDescriptor, readEntityDescriptor, setEntityId, setPreferredBinding, setSigningKey, setSingleLogoutMessagesSigned, setWantSingleLogoutMessagesSigned |
| 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.saml.api.SamlServiceProviderConfigurationApi |
|---|
isSingleLogoutMessagesSigned, isWantSingleLogoutMessagesSigned, setSingleLogoutMessagesSigned, setWantSingleLogoutMessagesSigned |
| Methods inherited from interface org.jboss.seam.security.external.saml.api.SamlEntityConfigurationApi |
|---|
getEntityId, getMetaDataURL, getPreferredBinding, setEntityId, setPreferredBinding, setSigningKey |
| Methods inherited from interface org.jboss.seam.security.external.api.EntityConfigurationApi |
|---|
getHostName, getPort, getProtocol, setHostName, setPort, setProtocol |
| Constructor Detail |
|---|
public SamlSpBean()
| Method Detail |
|---|
public SamlExternalIdentityProvider addExternalIdentityProvider(String entityId,
IDPSSODescriptorType idpSsoDescriptor)
public SamlExternalIdentityProvider addExternalSamlEntity(Reader reader)
SamlEntityConfigurationApiSamlEntityConfigurationApi.getMetaDataURL().
addExternalSamlEntity in interface SamlEntityConfigurationApiaddExternalSamlEntity in class SamlEntityBeanreader - reader that reads the meta information of the entry that
needs to be added
public List<SamlExternalEntity> getExternalSamlEntities()
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).
getExternalSamlEntities in interface SamlEntityConfigurationApigetExternalSamlEntities in class SamlEntityBeanpublic List<SamlExternalIdentityProvider> getIdentityProviders()
SamlServiceProviderConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader)). This allows the
API client to present the list to the user, so that the user can choose
the provider that needs to be used for doing the login.
getIdentityProviders in interface SamlServiceProviderConfigurationApipublic boolean isAuthnRequestsSigned()
SamlServiceProviderConfigurationApiSamlEntityConfigurationApi.setSigningKey(String, String, String, String)
.
isAuthnRequestsSigned in interface SamlServiceProviderConfigurationApipublic void setAuthnRequestsSigned(boolean authnRequestsSigned)
SamlServiceProviderConfigurationApiSamlServiceProviderConfigurationApi.isAuthnRequestsSigned().
setAuthnRequestsSigned in interface SamlServiceProviderConfigurationApipublic boolean isWantAssertionsSigned()
SamlServiceProviderConfigurationApi
isWantAssertionsSigned in interface SamlServiceProviderConfigurationApipublic void setWantAssertionsSigned(boolean wantAssertionsSigned)
SamlServiceProviderConfigurationApiSamlServiceProviderConfigurationApi.isWantAssertionsSigned().
setWantAssertionsSigned in interface SamlServiceProviderConfigurationApipublic SamlExternalIdentityProvider getExternalSamlEntityByEntityId(String entityId)
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).
getExternalSamlEntityByEntityId in interface SamlEntityConfigurationApigetExternalSamlEntityByEntityId in class SamlEntityBeanentityId - the id of the entity
public void writeMetaData(Writer writer)
writeMetaData in class SamlEntityBean
public void login(String idpEntityId,
HttpServletResponse response)
login in interface SamlMultiUserServiceProviderApipublic void localLogout(SamlSpSession session)
localLogout in interface SamlMultiUserServiceProviderApi
public void globalLogout(SamlSpSession session,
HttpServletResponse response)
globalLogout in interface SamlMultiUserServiceProviderApipublic Set<SamlSpSession> getSessions()
getSessions in interface SamlMultiUserServiceProviderApipublic SamlIdpOrSp getIdpOrSp()
getIdpOrSp in class SamlEntityBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||