at.gv.egiz.moodle.eidconnector.auth.impl
Class PEPSAuthenticationProvider
java.lang.Object
at.gv.egiz.moodle.eidconnector.auth.impl.PEPSAuthenticationProvider
- All Implemented Interfaces:
- AuthenticationProvider
- Direct Known Subclasses:
- PEPSAuthenticationProviderImpl, TestPEPSAuthenticationProviderImpl
public abstract class PEPSAuthenticationProvider
- extends Object
- implements AuthenticationProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML_RESPONSE_PARAM_NAME
protected static final String SAML_RESPONSE_PARAM_NAME
- See Also:
- Constant Field Values
PEPSAuthenticationProvider
public PEPSAuthenticationProvider()
getSTORKResponse
protected abstract eu.stork.mw.messages.saml.STORKResponse getSTORKResponse(HttpServletRequest request)
throws EIDConnectorException
- Throws:
EIDConnectorException
authenticate
public SubjectAttributes authenticate(HttpServletRequest request)
throws EIDConnectorException
- Description copied from interface:
AuthenticationProvider
- Uses the given request and retrieves/derives credentials from the respective authentication
service.
- Specified by:
authenticate
in interface AuthenticationProvider
- Parameters:
request
- The HttpServletRequest
.
- Returns:
- Credentials as
SubjectAttributes
.
- Throws:
EIDConnectorException
- Thrown in case of an error.
isResponsible
public boolean isResponsible(HttpServletRequest request)
throws EIDConnectorException
- Description copied from interface:
AuthenticationProvider
- Returns
true
if the underlying authentication implementation claims to be responsible
for the given HttpServletRequest
.
- Specified by:
isResponsible
in interface AuthenticationProvider
- Parameters:
request
- The HttpServletRequest
.
- Returns:
true
if responsible, false
if not.
- Throws:
EIDConnectorException
- Thrown in case of an error.
Copyright 2009 EGIZ. All Rights Reserved.