public interface ILoginHandler
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
createSession(java.lang.String Login,
java.lang.String PassWord)
Login user and return information for http authentication header.
|
java.util.Vector createSession(java.lang.String Login, java.lang.String PassWord) throws org.apache.xmlrpc.XmlRpcException
The returned sessionId and userId is used for authentication by secured handlers. To access a secured handler the http request needs an authentification header field name "Authentication". The field value must be a colon separated String of session id and user id.
Example value:
String( Base64.encode( (SessionId.toString() + ':' + UserId.toString() ).getBytes() )).trim();
Login
- UsernamePassWord
- Passwordorg.apache.xmlrpc.XmlRpcException
ILogOffHandler