com.signalsoftcorp.lst.provisioning
Class WPP10ResponseAuthenticate
java.lang.Object
|
+--com.signalsoftcorp.lst.provisioning.WPP10ResponseBase
|
+--com.signalsoftcorp.lst.provisioning.WPP10ResponseAuthenticate
- public class WPP10ResponseAuthenticate
- extends WPP10ResponseBase
A WPP10ResponseAuthenticate object is returned by the authenticateSubscriber
method.
Method Summary |
int |
getAuthState()
get the result status of the authentication request |
long |
getId()
Get the id of the authenticated subscriber |
void |
setAuthState(int state)
sets the result status of the authentication request |
void |
setId(long id)
set the id of the authenticated subscriber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTH_UNKNOWN
public static final int AUTH_UNKNOWN
- account not found
AUTH_INVALID
public static final int AUTH_INVALID
- wrong password
AUTH_DISABLED
public static final int AUTH_DISABLED
- valid, but disabled
AUTH_VALID
public static final int AUTH_VALID
- Authebtication successfull
WPP10ResponseAuthenticate
public WPP10ResponseAuthenticate()
- creates an WPP10ResponseAuthenticate object
setAuthState
public void setAuthState(int state)
- sets the result status of the authentication request
- Parameters:
state
- the authentication result
getAuthState
public int getAuthState()
- get the result status of the authentication request
- Returns:
- the authentication result
setId
public void setId(long id)
- set the id of the authenticated subscriber
- Parameters:
id
- the id of the subscriber
getId
public long getId()
- Get the id of the authenticated subscriber
- Returns:
- subscriber id
Copyright © SignalSoft Corp. All Rights Reserved.