|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.yale.its.tp.portlets.calendar.credentials.RequestAttributeCredentialsExtractorImpl
public class RequestAttributeCredentialsExtractorImpl
This ICredentialsExtractor implementation can retrieve the necessary
username and password from named attributes within the user's HttpSession
or PortletSession.
| Constructor Summary | |
|---|---|
RequestAttributeCredentialsExtractorImpl()
Default constructor |
|
RequestAttributeCredentialsExtractorImpl(java.lang.String passwordAttribute,
java.lang.String usernameAttribute)
|
|
| Method Summary | |
|---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(javax.servlet.http.HttpServletRequest request)
Implementations may return null. |
org.apache.commons.httpclient.Credentials |
getCredentials(javax.portlet.PortletRequest request)
Implementations may return null. |
void |
setPasswordAttribute(java.lang.String passwordAttribute)
|
void |
setUsernameAttribute(java.lang.String usernameAttribute)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestAttributeCredentialsExtractorImpl()
public RequestAttributeCredentialsExtractorImpl(java.lang.String passwordAttribute,
java.lang.String usernameAttribute)
passwordAttribute - usernameAttribute - | Method Detail |
|---|
public org.apache.commons.httpclient.Credentials getCredentials(javax.servlet.http.HttpServletRequest request)
ICredentialsExtractor
getCredentials in interface ICredentialsExtractorCredentials, or nullpublic org.apache.commons.httpclient.Credentials getCredentials(javax.portlet.PortletRequest request)
ICredentialsExtractor
getCredentials in interface ICredentialsExtractorCredentials, or nullpublic void setUsernameAttribute(java.lang.String usernameAttribute)
public void setPasswordAttribute(java.lang.String passwordAttribute)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||