at.gv.egiz.moodle.eidconnector.auth.impl.at
Class AustrianAuthProviderImpl
java.lang.Object
at.gv.egiz.moodle.eidconnector.auth.impl.at.AustrianAuthProviderImpl
- All Implemented Interfaces:
- AuthenticationProvider
public class AustrianAuthProviderImpl
- 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 |
AustrianAuthProviderImpl
public AustrianAuthProviderImpl()
getMOAIDClient
public at.iaik.commons.moa.id.generic.GenericMOAIDClient getMOAIDClient(String instance)
getClientKeyStore
public at.iaik.commons.data.ssl.KeyStore getClientKeyStore(String instance)
throws IOException
- Throws:
IOException
getTrustKeyStore
public at.iaik.commons.data.ssl.KeyStore getTrustKeyStore(String instance)
throws IOException
- Throws:
IOException
getSSLSocketFactory
protected SSLSocketFactory getSSLSocketFactory(String instance)
throws Exception
- Throws:
Exception
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.