at.gv.egiz.moodle.eidconnector.auth.impl
Class TestAuthenticationProviderImpl
java.lang.Object
at.gv.egiz.moodle.eidconnector.auth.impl.TestAuthenticationProviderImpl
- All Implemented Interfaces:
- AuthenticationProvider
public class TestAuthenticationProviderImpl
- extends Object
- implements AuthenticationProvider
- Author:
- AT-TUG (Thomas Knall)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestAuthenticationProviderImpl
public TestAuthenticationProviderImpl()
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.