public final class RequestAttributeCredentialsExtractorImpl extends Object implements ICredentialsExtractor
ICredentialsExtractor implementation retrieves the necessary username and password
from named attributes within the USER_INFO map bound to the PortletRequest| Constructor and Description |
|---|
RequestAttributeCredentialsExtractorImpl()
Default constructor
|
RequestAttributeCredentialsExtractorImpl(String passwordAttribute,
String usernameAttribute) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(javax.portlet.PortletRequest request)
Implementations may return null.
|
void |
setPasswordAttribute(String passwordAttribute) |
void |
setUsernameAttribute(String usernameAttribute) |
public RequestAttributeCredentialsExtractorImpl()
public org.apache.commons.httpclient.Credentials getCredentials(javax.portlet.PortletRequest request)
ICredentialsExtractorgetCredentials in interface ICredentialsExtractorCredentials, or nullpublic void setUsernameAttribute(String usernameAttribute)
public void setPasswordAttribute(String passwordAttribute)
Copyright © 2017 Apereo. All Rights Reserved.