@Typed(value=SamlIdpBean.class) public class SamlIdpBean extends SamlEntityBean implements SamlIdpBeanApi
metaDataJaxbContexthostName, port, protocol| Constructor and Description |
|---|
SamlIdpBean() |
| Modifier and Type | Method and Description |
|---|---|
SamlExternalServiceProvider |
addExternalSamlEntity(Reader reader)
This method can be used to add an external SAML entity that is trusted by
the entity that is being configured.
|
SamlExternalServiceProvider |
addExternalServiceProvider(String entityId,
SPSSODescriptorType spSsoDescriptor) |
void |
authenticationFailed(javax.servlet.http.HttpServletResponse response) |
void |
authenticationSucceeded(SamlIdpSession session,
javax.servlet.http.HttpServletResponse response) |
SamlNameId |
createNameId(String value,
String format,
String qualifier) |
List<SamlExternalEntity> |
getExternalSamlEntities()
Gets a list of all external entities that have been added previously by
calling
SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
SamlExternalServiceProvider |
getExternalSamlEntityByEntityId(String entityId)
Gets the detailed of a trusted external entity, that has been added
previously by calling
SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
SamlIdpOrSp |
getIdpOrSp() |
List<SamlExternalServiceProvider> |
getServiceProviders()
Gets a list of all external service providers that have been added
previously by calling
SamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader). |
Set<SamlIdpSession> |
getSessions() |
void |
globalLogout(SamlIdpSession session,
javax.servlet.http.HttpServletResponse response) |
boolean |
isWantAuthnRequestsSigned()
This property indicates whether incoming authentication requests need to
be signed.
|
SamlIdpSession |
localLogin(SamlNameId nameId,
List<AttributeType> attributes) |
void |
localLogout(SamlIdpSession session) |
void |
remoteLogin(String spEntityId,
SamlIdpSession session,
String remoteUrl,
javax.servlet.http.HttpServletResponse response) |
void |
setWantAuthnRequestsSigned(boolean wantAuthnRequestsSigned)
|
void |
writeMetaData(Writer writer) |
addKeyDescriptorToMetaData, addNameIDFormatsToMetaData, addSloEndpointsToMetaData, getEntityId, getMetaDataURL, getMetaInfo, getPreferredBinding, getServiceURL, getSigningKey, isSingleLogoutMessagesSigned, isWantSingleLogoutMessagesSigned, readEntitiesDescriptor, readEntityDescriptor, setEntityId, setPreferredBinding, setSigningKey, setSingleLogoutMessagesSigned, setWantSingleLogoutMessagesSignedcreateURL, getHostName, getPort, getProtocol, setHostName, setPort, setProtocolclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSingleLogoutMessagesSigned, isWantSingleLogoutMessagesSigned, setSingleLogoutMessagesSigned, setWantSingleLogoutMessagesSignedgetEntityId, getMetaDataURL, getPreferredBinding, setEntityId, setPreferredBinding, setSigningKeygetHostName, getPort, getProtocol, setHostName, setPort, setProtocolpublic List<SamlExternalServiceProvider> getServiceProviders()
SamlIdentityProviderConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).getServiceProviders in interface SamlIdentityProviderConfigurationApipublic SamlExternalServiceProvider addExternalServiceProvider(String entityId, SPSSODescriptorType spSsoDescriptor)
public SamlExternalServiceProvider 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 addedpublic List<SamlExternalEntity> getExternalSamlEntities()
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).getExternalSamlEntities in interface SamlEntityConfigurationApigetExternalSamlEntities in class SamlEntityBeanpublic boolean isWantAuthnRequestsSigned()
SamlIdentityProviderConfigurationApiisWantAuthnRequestsSigned in interface SamlIdentityProviderConfigurationApipublic void setWantAuthnRequestsSigned(boolean wantAuthnRequestsSigned)
SamlIdentityProviderConfigurationApisetWantAuthnRequestsSigned in interface SamlIdentityProviderConfigurationApipublic SamlExternalServiceProvider getExternalSamlEntityByEntityId(String entityId)
SamlEntityConfigurationApiSamlEntityConfigurationApi.addExternalSamlEntity(java.io.Reader).getExternalSamlEntityByEntityId in interface SamlEntityConfigurationApigetExternalSamlEntityByEntityId in class SamlEntityBeanentityId - the id of the entitypublic void writeMetaData(Writer writer)
writeMetaData in class SamlEntityBeanpublic void authenticationSucceeded(SamlIdpSession session, javax.servlet.http.HttpServletResponse response)
authenticationSucceeded in interface SamlMultiUserIdentityProviderApipublic void authenticationFailed(javax.servlet.http.HttpServletResponse response)
authenticationFailed in interface SamlMultiUserIdentityProviderApipublic Set<SamlIdpSession> getSessions()
getSessions in interface SamlMultiUserIdentityProviderApipublic SamlIdpSession localLogin(SamlNameId nameId, List<AttributeType> attributes)
localLogin in interface SamlMultiUserIdentityProviderApipublic SamlNameId createNameId(String value, String format, String qualifier)
createNameId in interface SamlMultiUserIdentityProviderApipublic void remoteLogin(String spEntityId, SamlIdpSession session, String remoteUrl, javax.servlet.http.HttpServletResponse response)
remoteLogin in interface SamlMultiUserIdentityProviderApipublic void localLogout(SamlIdpSession session)
localLogout in interface SamlMultiUserIdentityProviderApipublic void globalLogout(SamlIdpSession session, javax.servlet.http.HttpServletResponse response)
globalLogout in interface SamlMultiUserIdentityProviderApipublic SamlIdpOrSp getIdpOrSp()
getIdpOrSp in class SamlEntityBeanCopyright © 2013 Seam Framework. All Rights Reserved.