|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CSSSecurityAgentIF
Interface defining the getter methods for Username and Password. Note that password is an optional parameter. If the implementation of this interface returns a null password, security authentication will treat all providers as trusted and will verify for the existence of the username across all configured providers. Any non-null value will be treated as a valid password and an authentication request using the username and password returned by this implementation will be performed.
| Method Summary | |
|---|---|
java.lang.String |
getPassword(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Contract to return the password computed from the request object. |
java.lang.String |
getUserName(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Contract to return the username computed from the request object. |
| Method Detail |
|---|
java.lang.String getUserName(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
req - - Http request that carries information with which the username will be computed.res - - Not used. Preset for backward compatibility reasons.
java.lang.Exception - - in case of any failures.
java.lang.String getPassword(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
req - - Http request that carries information with which the password will be computed.res - - Not used. Preset for backward compatibility reasons.
java.lang.Exception - - in case of any failures.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||