org.exoplatform.services.security.cas.server
Class HTTPAuthenticationHandler

java.lang.Object
  extended by org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
      extended by org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
          extended by org.exoplatform.services.security.cas.server.HTTPAuthenticationHandler
All Implemented Interfaces:
org.jasig.cas.authentication.handler.AuthenticationHandler, org.jasig.cas.authentication.handler.NamedAuthenticationHandler

public class HTTPAuthenticationHandler
extends org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler

CAS uses spring framework. It is specified component of spring container.

Version:
$Id: $
Author:
Andrey Parfonov

Field Summary
 
Fields inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
log
 
Constructor Summary
HTTPAuthenticationHandler()
           
 
Method Summary
protected  boolean authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials credentials)
          Do authentication via HTTP or HTTPS at remote or local host.
 void setAuthenticationURL(java.lang.String authenticationURL)
          This method is called by spring framework, authenticationURL is passed from configuration.
 void setSecurity(boolean security)
          This method is called by spring framework, security is passed from configuration.
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
doAuthentication, getPasswordEncoder, setClassToSupport, setPasswordEncoder, setSupportSubClasses, supports
 
Methods inherited from class org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
authenticate, getName, postAuthenticate, preAuthenticate, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPAuthenticationHandler

public HTTPAuthenticationHandler()
Method Detail

authenticateUsernamePasswordInternal

protected boolean authenticateUsernamePasswordInternal(org.jasig.cas.authentication.principal.UsernamePasswordCredentials credentials)
Do authentication via HTTP or HTTPS at remote or local host.

Specified by:
authenticateUsernamePasswordInternal in class org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler

setAuthenticationURL

public void setAuthenticationURL(java.lang.String authenticationURL)
This method is called by spring framework, authenticationURL is passed from configuration.

Parameters:
authenticationURL - the URL for authentication.

setSecurity

public void setSecurity(boolean security)
This method is called by spring framework, security is passed from configuration.

Parameters:
security - must be used https or not.


Copyright © 2012 eXo Platform SAS. All Rights Reserved.