jaugment2.password
Interface PasswordServiceIF
- All Known Implementing Classes:
- PasswordServiceProxy
- public interface PasswordServiceIF
- extends java.rmi.Remote
Defines what a password-rememberance-service should look like
|
Method Summary |
java.lang.String |
getPassword(java.lang.String identifier,
byte[] masterPWD)
Get the given password out of the list |
java.lang.String[] |
getPasswordIdentifiers(byte[] masterPWD)
|
void |
setMasterPassword(byte[] newMasterPWD,
byte[] masterPWD)
Set the master-password |
java.lang.String |
setPassword(java.lang.String identifier,
java.lang.String password,
byte[] masterPWD)
Set the given password |
getPassword
public java.lang.String getPassword(java.lang.String identifier,
byte[] masterPWD)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException
- Get the given password out of the list
- Throws:
- java.lang.IllegalArgumentException - if the masterPWD was wrong
getPasswordIdentifiers
public java.lang.String[] getPasswordIdentifiers(byte[] masterPWD)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException,
java.lang.IllegalStateException
setPassword
public java.lang.String setPassword(java.lang.String identifier,
java.lang.String password,
byte[] masterPWD)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException
- Set the given password
- Throws:
- java.lang.IllegalArgumentException - if the masterPWD was wrong
setMasterPassword
public void setMasterPassword(byte[] newMasterPWD,
byte[] masterPWD)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException
- Set the master-password
- Throws:
- java.lang.IllegalArgumentException - if the masterPWD was wrong