org.jasig.cas.web.flow
Class AuthenticationViaFormAction
java.lang.Object
org.jasig.cas.web.flow.AuthenticationViaFormAction
public class AuthenticationViaFormAction
- extends java.lang.Object
Action to authenticate credentials and retrieve a TicketGrantingTicket for
those credentials. If there is a request for renew, then it also generates
the Service Ticket required.
- Since:
- 3.0.4
- Version:
- $Revision: 48180 $ $Date: 2010-03-14 00:05:58 -0500 (Sun, 14 Mar 2010) $
- Author:
- Scott Battaglia
|
Field Summary |
protected org.slf4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected org.slf4j.Logger logger
AuthenticationViaFormAction
public AuthenticationViaFormAction()
doBind
public final void doBind(org.springframework.webflow.execution.RequestContext context,
Credentials credentials)
throws java.lang.Exception
- Throws:
java.lang.Exception
submit
public final java.lang.String submit(org.springframework.webflow.execution.RequestContext context,
Credentials credentials,
org.springframework.binding.message.MessageContext messageContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCentralAuthenticationService
public final void setCentralAuthenticationService(CentralAuthenticationService centralAuthenticationService)
setCredentialsBinder
public final void setCredentialsBinder(CredentialsBinder credentialsBinder)
- Set a CredentialsBinder for additional binding of the HttpServletRequest
to the Credentials instance, beyond our default binding of the
Credentials as a Form Object in Spring WebMVC parlance. By the time we
invoke this CredentialsBinder, we have already engaged in default binding
such that for each HttpServletRequest parameter, if there was a JavaBean
property of the Credentials implementation of the same name, we have set
that property to be the value of the corresponding request parameter.
This CredentialsBinder plugin point exists to allow consideration of
things other than HttpServletRequest parameters in populating the
Credentials (or more sophisticated consideration of the
HttpServletRequest parameters).
- Parameters:
credentialsBinder - the credentials binder to set.
setWarnCookieGenerator
public final void setWarnCookieGenerator(org.springframework.web.util.CookieGenerator warnCookieGenerator)
Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.