|
||||||||||
| 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 |
|---|
| Fields inherited from class org.jasig.portal.security.LocalConnectionContext |
|---|
log |
| Constructor Summary | |
|---|---|
CasConnectionContext()
|
|
| Method Summary | |
|---|---|
String |
getDescriptor(String descriptor)
Returns url with proxy service ticket appended. |
String |
getDescriptor(String descriptor,
ChannelRuntimeData rd)
Returns a descriptor such as a URL for opening a connection to the backend application. |
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(Object conParam,
ChannelRuntimeData rd)
Send any per-connection local data to the backend application. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CasConnectionContext()
| Method Detail |
|---|
public void init(ChannelStaticData sd)
LocalConnectionContext
init in class LocalConnectionContextsd - The calling channel's ChannelStaticData.
public String getDescriptor(String descriptor,
ChannelRuntimeData rd)
LocalConnectionContext
getDescriptor in class LocalConnectionContextdescriptor - The original descriptor.rd - The calling channel's ChannelRuntimeData.public String getDescriptor(String descriptor)
descriptor - The original descriptor.
public String getPostData(ChannelRuntimeData rd)
rd - ChannelRuntimeData.
public void sendLocalData(Object conParam,
ChannelRuntimeData rd)
LocalConnectionContext
sendLocalData in class LocalConnectionContextconParam - The connection Object to the backend application
(ie. HttpURLConnection, DirContext).rd - The calling channel's ChannelRuntimeData.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||