|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.priv.pro.integration.LicensingFacadeSession
public class LicensingFacadeSession
Represents simple session concept that holds license generation and activation permissions acquired during authentication and authorization process. By default session only holds login name and requests' arguments but session's subclasses are able hold any other attributes that could be needed.
Field Summary | |
---|---|
protected java.util.Map |
fArguments
|
protected java.lang.String |
fLogin
|
protected int |
fOperation
|
protected java.lang.String |
fSerialNumber
|
static int |
OPERATION_ACTIVATE
|
static int |
OPERATION_DEACTIVATE
|
static int |
OPERATION_GET
|
static int |
OPERATION_GET_DESCR
|
static int |
OPERATION_GET_S_N
|
static int |
OPERATION_UNKNOWN
|
Constructor Summary | |
---|---|
LicensingFacadeSession(java.lang.String aLogin,
java.util.Map aArguments,
int anOperation)
Creates a new instance of the LicensingFacadeSession |
|
LicensingFacadeSession(java.lang.String aLogin,
java.lang.String aSerialNumber,
java.util.Map aArguments,
int anOperation)
Creates a new instance of the LicensingFacadeSession |
Method Summary | |
---|---|
java.util.Map |
getArguments()
Returns arguments |
java.lang.String |
getLogin()
Returns login name |
int |
getOperation()
Returns operation represented by this session |
java.lang.String |
getSerialNumber()
Returns serial number |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fLogin
protected java.util.Map fArguments
protected java.lang.String fSerialNumber
protected int fOperation
public static final int OPERATION_UNKNOWN
public static final int OPERATION_GET
public static final int OPERATION_GET_S_N
public static final int OPERATION_GET_DESCR
public static final int OPERATION_ACTIVATE
public static final int OPERATION_DEACTIVATE
Constructor Detail |
---|
public LicensingFacadeSession(java.lang.String aLogin, java.lang.String aSerialNumber, java.util.Map aArguments, int anOperation)
LicensingFacadeSession
aLogin
- login nameaSerialNumber
- serial numberaArguments
- arguments passed in licensing requestanOperation
- code of request operations as one of OPERATION_
constantspublic LicensingFacadeSession(java.lang.String aLogin, java.util.Map aArguments, int anOperation)
LicensingFacadeSession
aLogin
- login nameaArguments
- arguments passed in licensing requestanOperation
- code of request operations as one of OPERATION_
constantsMethod Detail |
---|
public java.lang.String getLogin()
public java.util.Map getArguments()
public java.lang.String getSerialNumber()
null
otherwisepublic int getOperation()
OPERATION_
constants
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |