com.ibm.workplace.wcm.api.prerender
Interface PrerenderAuthenticationCredentials
-
public interface PrerenderAuthenticationCredentials
This interface is used by the WCMDefaultPrerenderAutthenticator to retrieve user credentials.
This can be used instead of placing this information in properties file, to allow the information to be more secure.
- Since:
- 7.0
Method Summary
|
java.lang.String |
getPassword(java.lang.String profileName,
java.lang.String userName)
Get the password. |
java.lang.String |
getUserName(java.lang.String profileName)
Get the user name. |
getUserName
java.lang.String getUserName(java.lang.String profileName)
- Get the user name.
If profiles are enabled for prerendering the users are allowed different credentials for each profile.
If profiles are not enabled, this value will be null.
- Parameters:
- profileName - The profileName or null.
- Returns:
- The user name
getPassword
java.lang.String getPassword(java.lang.String profileName,
java.lang.String userName)
- Get the password.
- Parameters:
- profileName - The profileName or null.
- userName - The username the password is being requested for.
- Returns:
- The password.