org.jasig.portal.security.provider.cas |
|
Java Source File Name | Type | Comment |
CasConnectionContext.java | Class | A LocalConnectionContext using the Central Authentication Service.
This connection context places CAS proxy tickets on the URLs it
processes. |
CasConnectionContextTest.java | Class | JUnit testcase exercising CasConnectionContext. |
CasFilteredSecurityContext.java | Class | CAS security context backed by the StaticCasReceiptCacherFilter.
This security context implements the approach of fronting uPortal login
with the CAS Java Servlet filters (specifically CASValidateFilter and
StaticCasReceiptCacherFilter), allowing the filters to do the "heavy lifting" of
performing the authentication and then just reading and using the
results here in the security context.
This approach dodges having to configure a constant service URL for
portal login and thereby affords flexibility for supporting parameters
on login for specifying the fname of a channel to jump to on authentication,
e.g.
Relies on the CASValidationFilter already having done any necessary ticket validation,
and the StaticCasReceiptCacherFilter having cached the receipt, keyed by the ticket.
Based on Susan Bramhall's YaleSecurityContext. |
CasFilteredSecurityContextFactory.java | Class | Factory for CasFilteredSecurityContexts, implementing the
CasValidateFilter-fronted CAS authentication approach. |
CasProxyTicketAcquisitionException.java | Class | Represents an exceptional condition encountered while attempting to
acquire a CAS Proxy Ticket. |
CasSecurityContext.java | Class |
A SecurityContext using the Central Authentication Service.
An ICasSecurityContext implementation in keeping with the traditional approach of
performing actual authentication inside this security context. |
CasSecurityContextFactory.java | Class | Factory for CasSecurityContext instances.
This factory implementation reads configuration properties from security.properties
once and stores those properties as static fields. |
CasSecurityContextMock.java | Class | A mock-object CAS security context. |
CasSecurityContextMockTest.java | Class | A JUnit test that exercises the CasSecurityContextMock mock object.
The mock object is useless if it cannot be relied upon to correctly emulate
an ICasSecurityContext instance as configured. |
ICasSecurityContext.java | Interface | Interface implemented by CAS security contexts.
CAS security contexts are capable of getting a token - a proxy ticket -
suitable for accessing a given String-identified service. |