org.jasig.portlet.emailpreview.service.auth.cas
Class CasAuthenticationService
java.lang.Object
org.jasig.portlet.emailpreview.service.auth.BaseCredentialsAuthenticationService
org.jasig.portlet.emailpreview.service.auth.cas.CasAuthenticationService
- All Implemented Interfaces:
- IAuthenticationService
public class CasAuthenticationService
- extends BaseCredentialsAuthenticationService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected String key
casTicketService
protected ICASProxyTicketService casTicketService
serviceUrl
protected String serviceUrl
CAS_ASSERTION_KEY
protected String CAS_ASSERTION_KEY
CasAuthenticationService
public CasAuthenticationService()
setCasTicketService
public void setCasTicketService(ICASProxyTicketService casTicketService)
setServiceUrl
public void setServiceUrl(String serviceUrl)
getProxyPrincipalname
protected String getProxyPrincipalname(javax.portlet.PortletRequest request)
getCasAssertion
protected org.jasig.cas.client.validation.Assertion getCasAssertion(javax.portlet.PortletRequest request)
isConfigured
public boolean isConfigured(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
- Description copied from interface:
IAuthenticationService
True if the specified parameters contain enough information
to build a valid Authenticator if they were passed to the
IAuthenticationService.getAuthenticator(PortletRequest, MailStoreConfiguration) method.
- Returns:
getAuthenticator
public javax.mail.Authenticator getAuthenticator(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
- Returns:
getCredentials
public org.apache.http.auth.Credentials getCredentials(javax.portlet.PortletRequest req,
MailStoreConfiguration config)
- Description copied from interface:
IAuthenticationService
- Returns a credentials object. This is for Exchange integration.
- Returns:
getMailAccountName
public String getMailAccountName(javax.portlet.PortletRequest request,
MailStoreConfiguration config)
getKey
public String getKey()
- Description copied from interface:
IAuthenticationService
- Return the unique key for this authentication service. This key will be used
to retrieve an authentication service instance from the registry.
- Returns:
setKey
public void setKey(String key)
Copyright © 2013 Jasig. All Rights Reserved.