@Service @RunLevel(value=1) public class LocalPasswordImpl extends Object implements org.glassfish.hk2.api.PostConstruct, LocalPassword
| Constructor and Description |
|---|
LocalPasswordImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalPassword()
Get the local password.
|
boolean |
isLocalPassword(String p)
Is the given password the local password?
|
void |
postConstruct()
Generate a local password and save it in the local-password file.
|
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic boolean isLocalPassword(String p)
isLocalPassword in interface LocalPasswordp - the password to testpublic String getLocalPassword()
getLocalPassword in interface LocalPasswordCopyright © 2019. All rights reserved.