|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.security.LocalConnectionContext
org.jasig.portal.security.provider.cas.CasConnectionContext
public class CasConnectionContext
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.
Field Summary | |
---|---|
private ICasSecurityContext |
casSecurityContext
|
private IPerson |
person
|
private ChannelStaticData |
staticData
|
Fields inherited from class org.jasig.portal.security.LocalConnectionContext |
---|
log |
Constructor Summary | |
---|---|
CasConnectionContext()
|
Method Summary | |
---|---|
java.lang.String |
getDescriptor(java.lang.String descriptor)
Returns url with proxy service ticket appended. |
java.lang.String |
getDescriptor(java.lang.String descriptor,
ChannelRuntimeData rd)
Returns a descriptor such as a URL for opening a connection to the backend application. |
java.lang.String |
getPostData(ChannelRuntimeData rd)
Get the "ticket={ticket}" parameter String given a ChannelRuntimeData containing a parameter declaring the service for which a proxy ticket is desired. |
void |
init(ChannelStaticData sd)
Initialize LocalConnectionContext by setting static data. |
void |
sendLocalData(java.lang.Object conParam,
ChannelRuntimeData rd)
Send any per-connection local data to the backend application. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private ChannelStaticData staticData
private IPerson person
private ICasSecurityContext casSecurityContext
Constructor Detail |
---|
public CasConnectionContext()
Method Detail |
---|
public void init(ChannelStaticData sd)
LocalConnectionContext
init
in class LocalConnectionContext
sd
- The calling channel's ChannelStaticData.public java.lang.String getDescriptor(java.lang.String descriptor, ChannelRuntimeData rd)
LocalConnectionContext
getDescriptor
in class LocalConnectionContext
descriptor
- The original descriptor.rd
- The calling channel's ChannelRuntimeData.public java.lang.String getDescriptor(java.lang.String descriptor)
descriptor
- The original descriptor.
public java.lang.String getPostData(ChannelRuntimeData rd)
rd
- ChannelRuntimeData.
public void sendLocalData(java.lang.Object conParam, ChannelRuntimeData rd)
LocalConnectionContext
sendLocalData
in class LocalConnectionContext
conParam
- The connection Object to the backend application
(ie. HttpURLConnection, DirContext).rd
- The calling channel's ChannelRuntimeData.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |