at.gv.egiz.moodle.eidconnector.auth.impl
Class TestAuthenticationProviderImpl

java.lang.Object
  extended by at.gv.egiz.moodle.eidconnector.auth.impl.TestAuthenticationProviderImpl
All Implemented Interfaces:
AuthenticationProvider

public class TestAuthenticationProviderImpl
extends Object
implements AuthenticationProvider

Author:
AT-TUG (Thomas Knall)

Constructor Summary
TestAuthenticationProviderImpl()
           
 
Method Summary
 SubjectAttributes authenticate(HttpServletRequest request)
          Uses the given request and retrieves/derives credentials from the respective authentication service.
 boolean isResponsible(HttpServletRequest request)
          Returns true if the underlying authentication implementation claims to be responsible for the given HttpServletRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAuthenticationProviderImpl

public TestAuthenticationProviderImpl()
Method Detail

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.