| java.lang.Object org.jasig.portal.security.LocalConnectionContext org.jasig.portal.security.provider.cas.CasConnectionContext
CasConnectionContext | public class CasConnectionContext extends LocalConnectionContext (Code) | | A LocalConnectionContext using the Central Authentication Service.
This connection context places CAS proxy tickets on the URLs it
processes. It searches for and uses any security context implementing
ICasSecurityContext. This means that it supports both the filtered and the
traditional CAS security context approaches and that this connection context
can be used with any other security context scheme implementing CAS-like
proxy ticket functionality if the corresponding security context implements
ICasSecurityContext.
|
getDescriptor | public String getDescriptor(String descriptor)(Code) | | Returns url with proxy service ticket appended. Looks for static
parameter upc_cas_service_uri and uses that for service. If not
specified, uses the passed uri
Parameters: descriptor - The original descriptor. descriptor with CAS proxy ticket parameter appended. |
getPostData | public String getPostData(ChannelRuntimeData rd)(Code) | | Get the "ticket={ticket}" parameter String given a ChannelRuntimeData
containing a parameter declaring the service for which a proxy ticket
is desired. If the ChannelRuntimeData presents the parameter
"cw_xml", this method returns "ticket={ticket}" where {ticket} is a
proxy ticket authenticating to the service specified by the cw_xml
ChannelRuntimeData parameter. If the ChannelRuntimedata does not present
the "cw_xml" parameter, this method returns "ticket=null".
Parameters: rd - ChannelRuntimeData. "ticket={ticket}" where {ticket} is a proxy ticket or is "null". |
|
|