org.jasig.cas.adaptors.trusted.web.flow
Class PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.jasig.cas.web.flow.AbstractNonInteractiveCredentialsAction
          extended by org.jasig.cas.adaptors.trusted.web.flow.PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

public final class PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction
extends AbstractNonInteractiveCredentialsAction

Implementation of the NonInteractiveCredentialsAction that looks for a remote user that is set in the HttpServletRequest and attempts to construct a Principal (and thus a PrincipalBearingCredentials). If it doesn't find one, this class returns and error event which tells the web flow it could not find any credentials.

Since:
3.0.5
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Field Summary
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction()
           
 
Method Summary
protected  Credentials constructCredentialsFromRequest(org.springframework.webflow.execution.RequestContext context)
           
 
Methods inherited from class org.jasig.cas.web.flow.AbstractNonInteractiveCredentialsAction
doExecute, isRenewPresent, onError, onSuccess, setCentralAuthenticationService
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction

public PrincipalFromRequestRemoteUserNonInteractiveCredentialsAction()
Method Detail

constructCredentialsFromRequest

protected Credentials constructCredentialsFromRequest(org.springframework.webflow.execution.RequestContext context)
Specified by:
constructCredentialsFromRequest in class AbstractNonInteractiveCredentialsAction


Copyright © 2004-2012 Jasig. All Rights Reserved.