|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.security.provider.cas.CasSecurityContextFactory
public final class CasSecurityContextFactory
Factory for CasSecurityContext instances. This factory implementation reads configuration properties from security.properties once and stores those properties as static fields. As a consequence, this class is not usefully multiply instantiable -- you can multiply instantiate it, but all instances will behave the same. Also, this factory will not reflect changes to these properties in security.properties until the class is unloaded and reloaded -- typically only on portal JVM restart.
| Constructor Summary | |
|---|---|
CasSecurityContextFactory()
|
|
| Method Summary | |
|---|---|
ISecurityContext |
getSecurityContext()
|
static void |
setCasProxyCallbackUrl(java.lang.String casProxyCallbackUrlArg)
Static setter method for poor-man's dependency injection. |
static void |
setCasValidateUrl(java.lang.String casValidateUrlArg)
Static setter method for poor-man's dependency injection. |
static void |
setPortalServiceUrl(java.lang.String portalServiceUrlArg)
Static setter method for poor-man's dependency injection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CasSecurityContextFactory()
| Method Detail |
|---|
public ISecurityContext getSecurityContext()
getSecurityContext in interface ISecurityContextFactorypublic static void setCasProxyCallbackUrl(java.lang.String casProxyCallbackUrlArg)
casProxyCallbackUrlArg - -
the https: URL to which you would like CAS deliver proxy
granting tickets.public static void setPortalServiceUrl(java.lang.String portalServiceUrlArg)
portalServiceUrlArg - -
the URL to which service tickets will authenticate portal
userspublic static void setCasValidateUrl(java.lang.String casValidateUrlArg)
casValidateUrlArg - -
the https: URL at which CAS will validate the tickets
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||