public class CasAuthenticationService extends BaseCredentialsAuthenticationService
| Modifier and Type | Field and Description |
|---|---|
protected String |
CAS_ASSERTION_KEY |
protected ICASProxyTicketService |
casTicketService |
protected String |
key |
protected String |
serviceUrl |
adminParameters, configParams, userParameters| Constructor and Description |
|---|
CasAuthenticationService() |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Authenticator |
getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config) |
protected org.jasig.cas.client.validation.Assertion |
getCasAssertion(javax.portlet.PortletRequest request) |
org.apache.http.auth.Credentials |
getCredentials(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
CAS ticket doesn't make sense with Exchange Integration.
|
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) |
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) |
createMailAccountName, createNTCredentials, getAdminConfigurationParameters, getConfigurationParametersMap, getUserConfigurationParameters, setAdminParameters, setConfigParams, setUserParametersprotected 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 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.public javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
public org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
public String getMailAccountName(javax.portlet.PortletRequest request, MailStoreConfiguration config)
public String getKey()
IAuthenticationServicepublic void setKey(String key)
Copyright © 2015 Jasig. All Rights Reserved.