nl.surfnet.coin.api.saml
Class OpenSAMLContext
java.lang.Object
nl.surfnet.coin.api.saml.OpenSAMLContext
@Component(value="openSAMLContext")
public class OpenSAMLContext
- extends Object
Context that wires the required OpenSAML configuration. All methods can be
overridden to customize behavior.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSAMLContext
public OpenSAMLContext()
throws IOException
- Throws:
IOException
velocityEngine
protected org.apache.velocity.app.VelocityEngine velocityEngine()
assertionConsumerUri
public String assertionConsumerUri()
replayCache
protected org.opensaml.util.storage.ReplayCache replayCache()
messageReplayRule
protected org.opensaml.common.binding.security.MessageReplayRule messageReplayRule()
issueInstantRule
protected org.opensaml.common.binding.security.IssueInstantRule issueInstantRule()
keyStoreCredentialResolver
protected org.opensaml.xml.security.credential.CredentialResolver keyStoreCredentialResolver()
signatureBuilder
protected nl.surfnet.spring.security.opensaml.SignatureSecurityPolicyRule signatureBuilder()
securityPolicy
protected nl.surfnet.spring.security.opensaml.SecurityPolicyDelegate securityPolicy()
securityPolicyResolver
protected org.opensaml.ws.security.SecurityPolicyResolver securityPolicyResolver()
samlMessageDecoder
protected org.opensaml.common.binding.decoding.SAMLMessageDecoder samlMessageDecoder()
samlMessageHandler
public nl.surfnet.spring.security.opensaml.SAMLMessageHandler samlMessageHandler()
assertionConsumer
public nl.surfnet.spring.security.opensaml.AssertionConsumer assertionConsumer()
keyStore
protected nl.surfnet.spring.security.opensaml.KeyStore keyStore()
entityId
public String entityId()
validatorSuite
public nl.surfnet.spring.security.opensaml.xml.SAML2ValidatorSuite validatorSuite()
authenticate
protected org.springframework.security.core.userdetails.UserDetails authenticate(org.opensaml.saml2.core.Response samlResponse)
isSAMLResponse
protected boolean isSAMLResponse(javax.servlet.http.HttpServletRequest request)
extractSamlResponse
protected org.opensaml.saml2.core.Response extractSamlResponse(javax.servlet.http.HttpServletRequest request)
idpUrl
public String idpUrl()
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.