net.sourceforge.openutils.mgnlcas
Class CasClientCallback

java.lang.Object
  extended by info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
      extended by net.sourceforge.openutils.mgnlcas.CasClientCallback
All Implemented Interfaces:
info.magnolia.cms.security.auth.callback.HttpClientCallback

public class CasClientCallback
extends info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback

Magnolia CAS Callback, based on CAS org.jasig.cas.client.authentication.AuthenticationFilter

Version:
$Id: CasClientCallback.java 4896 2008-10-08 16:23:10Z manuel $
Author:
fgiust

Field Summary
static java.lang.String CONST_CAS_ASSERTION
          Represents the constant for where the assertion will be located in session.
static java.lang.String CONST_CAS_GATEWAY
          Represents the constant for where the gateway flag will be located in session.
 
Constructor Summary
CasClientCallback()
           
 
Method Summary
 void doCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
 void setArtifactParameterName(java.lang.String artifactParameterName)
          Sets the artifactParameterName.
 void setCasServerLoginUrl(java.lang.String casServerLoginUrl)
           
 void setEncodeServiceUrl(boolean encodeServiceUrl)
          Sets the encodeServiceUrl.
 void setGateway(boolean gateway)
           
 void setRenew(boolean renew)
           
 void setServiceParameterName(java.lang.String serviceParameterName)
          Sets the serviceParameterName.
 
Methods inherited from class info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback
handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONST_CAS_GATEWAY

public static final java.lang.String CONST_CAS_GATEWAY
Represents the constant for where the gateway flag will be located in session.

See Also:
Constant Field Values

CONST_CAS_ASSERTION

public static final java.lang.String CONST_CAS_ASSERTION
Represents the constant for where the assertion will be located in session.

See Also:
Constant Field Values
Constructor Detail

CasClientCallback

public CasClientCallback()
Method Detail

setRenew

public final void setRenew(boolean renew)

setGateway

public final void setGateway(boolean gateway)

setCasServerLoginUrl

public final void setCasServerLoginUrl(java.lang.String casServerLoginUrl)

setArtifactParameterName

public void setArtifactParameterName(java.lang.String artifactParameterName)
Sets the artifactParameterName.

Parameters:
artifactParameterName - the artifactParameterName to set

setServiceParameterName

public void setServiceParameterName(java.lang.String serviceParameterName)
Sets the serviceParameterName.

Parameters:
serviceParameterName - the serviceParameterName to set

setEncodeServiceUrl

public void setEncodeServiceUrl(boolean encodeServiceUrl)
Sets the encodeServiceUrl.

Parameters:
encodeServiceUrl - the encodeServiceUrl to set

doCallback

public void doCallback(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)

Specified by:
doCallback in class info.magnolia.cms.security.auth.callback.AbstractHttpClientCallback


Copyright © 2007-2010 Openmind. All Rights Reserved.