local.server
Interface AuthenticationService
- All Superinterfaces:
- Repository
- All Known Implementing Classes:
- AuthenticationServiceImpl
- public interface AuthenticationService
- extends Repository
AuthenticationService is the interface used by a SIP server to access to
an AAA repository.
addUser
public AuthenticationService addUser(java.lang.String user,
byte[] key)
- Adds a new user at the database.
- Parameters:
user - the user namekey - the user key- Returns:
- this object
setUserKey
public AuthenticationService setUserKey(java.lang.String user,
byte[] key)
- Sets the user key.
- Parameters:
user - the user namekey - the user key- Returns:
- this object
getUserKey
public byte[] getUserKey(java.lang.String user)
- Gets the user key.
- Parameters:
user - the user name- Returns:
- the user key