username: password [,rolename ...]Passwords may be clear text, obfuscated or checksummed. The class com.eclipse.Util.Password should be used to generate obfuscated passwords or password checksums.
If DIGEST Authentication is used, the password must be in a recoverable format, either plain text or OBF:.
| Modifier and Type | Field and Description |
|---|---|
| private Resource | |
| private int | |
| private UserStore | |
| private boolean | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStart()
Overrides org. Starts the managed lifecycle beans in the order they were added. |
| protected void | doStop()
Overrides org. Stops the managed lifecycle beans in the reverse order they were added. |
| public Resource | |
| public int | Returns: the scan interval in seconds for reloading the property file.Get the scan interval in seconds for reloading the property file.. |
| pack-priv UserStore | |
| public boolean | Returns: true if hot reload was enabled before startup
Deprecated
use
getReloadInterval()
Is hot reload enabled on this user store |
| pack-priv boolean | isUserStoreAutoCreate()
Returns: true if a UserStore has been created from a config, false if a UserStore was provided. |
| protected List | loadRoleInfo(UserPrincipal user)
Implements abstract org.
|
| protected UserPrincipal | loadUserInfo(String userName)
Implements abstract org.
|
| public void | |
| public void | setHotReload(boolean
true to enable 1s refresh interval, false to disable enable)
Deprecated
use
setReloadInterval(int)
Enable Hot Reload of the Property File |
| public void | setReloadInterval(int
Set the scan interval in seconds for reloading the property file. reloadIntervalSeconds)
|
| public void | setUserStore(UserStore
the userStore)UserStore implementation to useConfigure the |
| _config | back to summary |
|---|---|
| private Resource _config | |
| _reloadInterval | back to summary |
|---|---|
| private int _reloadInterval | |
| _userStore | back to summary |
|---|---|
| private UserStore _userStore | |
| _userStoreAutoCreate | back to summary |
|---|---|
| private boolean _userStoreAutoCreate | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| HashLoginService | back to summary |
|---|---|
| public HashLoginService() | |
| HashLoginService | back to summary |
|---|---|
| public HashLoginService(String name) | |
| HashLoginService | back to summary |
|---|---|
| public HashLoginService(String name, Resource config) | |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Starts the managed lifecycle beans in the order they were added.
| |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception Overrides org. Doc from org. Stops the managed lifecycle beans in the reverse order they were added.
| |
| getConfig | back to summary |
|---|---|
| public Resource getConfig() | |
| getReloadInterval | back to summary |
|---|---|
| public int getReloadInterval() Get the scan interval in seconds for reloading the property file..
| |
| getUserStore | back to summary |
|---|---|
| pack-priv UserStore getUserStore() To facilitate testing.
| |
| isHotReload | back to summary |
|---|---|
| public boolean isHotReload()
Deprecated Is hot reload enabled on this user store
| |
| isUserStoreAutoCreate | back to summary |
|---|---|
pack-priv boolean isUserStoreAutoCreate()
| |
| loadRoleInfo | back to summary |
|---|---|
| protected List Implements abstract org.
| |
| loadUserInfo | back to summary |
|---|---|
| protected UserPrincipal loadUserInfo(String userName) Implements abstract org.
| |
| setConfig | back to summary |
|---|---|
| public void setConfig(Resource config) Load users from properties file. The property file maps usernames to password specs followed by an optional comma separated list of role names.
| |
| setHotReload | back to summary |
|---|---|
| public void setHotReload(boolean enable)
Deprecated Enable Hot Reload of the Property File
| |
| setReloadInterval | back to summary |
|---|---|
public void setReloadInterval(int reloadIntervalSeconds)
| |
| setUserStore | back to summary |
|---|---|
| public void setUserStore(UserStore userStore) Configure the | |