| org.jasig.portal.security.provider.cas.ICasSecurityContext
All known Subclasses: org.jasig.portal.security.provider.cas.CasSecurityContextMock, org.jasig.portal.security.provider.cas.CasSecurityContext, org.jasig.portal.security.provider.cas.CasFilteredSecurityContext,
ICasSecurityContext | public interface ICasSecurityContext (Code) | | 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. This interface
declares a method for getting such a token.
This interface evolved from edu.yale.its.tp.portal.security.IYaleCasContext
as distributed in the Yale uPortal CAS security provider distribution version
3.0.0.
version: $Revision$ $Date$ |
Method Summary | |
public String | getCasServiceToken(String target) Get a proxy ticket for a given target.
Implementations should return null if no PGTIOU or PGT is available by
which to obtain a proxy ticket.
Implementations should throw a CASProxyTicketAcquisitionException if
an error occurs during an attempt
to obtain a PGT. |
CAS_AUTHTYPE | final public static int CAS_AUTHTYPE(Code) | | Authentication type for CAS authentication
|
getCasServiceToken | public String getCasServiceToken(String target) throws CasProxyTicketAcquisitionException(Code) | | Get a proxy ticket for a given target.
Implementations should return null if no PGTIOU or PGT is available by
which to obtain a proxy ticket.
Implementations should throw a CASProxyTicketAcquisitionException if
an error occurs during an attempt
to obtain a PGT. In particular, inability to contact the CAS server and
expiration of the underlying PGT
should result in a CASProxyTicketAcquisitionException.
Parameters: target - - URL for which a proxy ticket is desired. a valid proxy ticket for the target, or null. throws: CASProxyTicketAcquisitionException - - when unable to obtain Proxy Ticket. |
|
|