public class CasAuthenticationService extends Object implements IAuthenticationService
| Modifier and Type | Field and Description |
|---|---|
protected String |
CAS_ASSERTION_KEY |
protected ICASProxyTicketService |
casTicketService |
protected String |
key |
protected String |
serviceUrl |
| Constructor and Description |
|---|
CasAuthenticationService() |
| Modifier and Type | Method and Description |
|---|---|
List<ConfigurationParameter> |
getAdminConfigurationParameters() |
javax.mail.Authenticator |
getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config) |
protected org.jasig.cas.client.validation.Assertion |
getCasAssertion(javax.portlet.PortletRequest request) |
Map<String,ConfigurationParameter> |
getConfigurationParametersMap() |
org.apache.http.auth.Credentials |
getCredentials(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
Returns a credentials object.
|
String |
getKey()
Return the unique key for this authentication service.
|
String |
getMailAccountName(javax.portlet.PortletRequest request,
MailStoreConfiguration config) |
protected String |
getProxyPrincipalname(javax.portlet.PortletRequest request) |
List<ConfigurationParameter> |
getUserConfigurationParameters() |
boolean |
isConfigured(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
True if the specified parameters contain enough information
to build a valid Authenticator if they were passed to the
IAuthenticationService.getAuthenticator(PortletRequest, MailStoreConfiguration) method. |
void |
setCasTicketService(ICASProxyTicketService casTicketService) |
void |
setKey(String key) |
void |
setServiceUrl(String serviceUrl) |
protected String key
protected ICASProxyTicketService casTicketService
protected String serviceUrl
protected String CAS_ASSERTION_KEY
public void setCasTicketService(ICASProxyTicketService casTicketService)
public void setServiceUrl(String serviceUrl)
protected String getProxyPrincipalname(javax.portlet.PortletRequest request)
protected org.jasig.cas.client.validation.Assertion getCasAssertion(javax.portlet.PortletRequest request)
public Map<String,ConfigurationParameter> getConfigurationParametersMap()
getConfigurationParametersMap in interface IAuthenticationServicepublic boolean isConfigured(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
IAuthenticationServiceTrue if the specified parameters contain enough information
to build a valid Authenticator if they were passed to the
IAuthenticationService.getAuthenticator(PortletRequest, MailStoreConfiguration) method.isConfigured in interface IAuthenticationServicepublic javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
getAuthenticator in interface IAuthenticationServicepublic org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
IAuthenticationServicegetCredentials in interface IAuthenticationServicepublic String getMailAccountName(javax.portlet.PortletRequest request, MailStoreConfiguration config)
getMailAccountName in interface IAuthenticationServicepublic String getKey()
IAuthenticationServicegetKey in interface IAuthenticationServicepublic void setKey(String key)
public List<ConfigurationParameter> getAdminConfigurationParameters()
getAdminConfigurationParameters in interface IAuthenticationServicepublic List<ConfigurationParameter> getUserConfigurationParameters()
getUserConfigurationParameters in interface IAuthenticationServiceCopyright © 2013 Jasig. All Rights Reserved.