public interface BrokerSecurity
EntireXSecurity
implements this interface and
supports the standard EntireX Security.getSecurityToken()
Modifier and Type | Method and Description |
---|---|
void |
decryptData(byte[] data)
Decrypts the received data in place.
|
void |
encryptData(byte[] data)
Encrypts the sent data in place.
|
byte[] |
getNewpassword()
Returns the encrypted Newpassword if it was supplied in the
prepareLogon call. |
byte[] |
getPassword()
Returns the encrypted password if it was supplied in the
prepareLogon call. |
byte[] |
getSecurityToken()
Returns a Security Token.
|
void |
prepareLogon(java.lang.String userID,
byte[] password,
byte[] newpassword,
byte[] securityToken)
Encrypts the password(s) and generates a security token.
|
void prepareLogon(java.lang.String userID, byte[] password, byte[] newpassword, byte[] securityToken)
logon
methods.
It is called before performing a logon call to the Broker.
This method prepares the encryption of the password and
the new password and the generation of the security token. These values
will be retrieved by the getPassword
,
getNewpassword
and getSecurityToken
methods.userID
- user ID from Broker constructor.password
- Password from logon
method. May be
null.
newpassword
- New password from logon
method. May be
null
.securityToken
- Security token from Broker object. May be
null
.Broker.logon()
,
Broker.logon(java.lang.String)
,
Broker.logon(java.lang.String, java.lang.String)
,
getPassword()
,
getNewpassword()
,
getSecurityToken()
byte[] getPassword()
prepareLogon
call.null
.prepareLogon(java.lang.String, byte[], byte[], byte[])
byte[] getNewpassword()
prepareLogon
call.null
.prepareLogon(java.lang.String, byte[], byte[], byte[])
byte[] getSecurityToken()
prepareLogon(java.lang.String, byte[], byte[], byte[])
void encryptData(byte[] data)
data
- The send data.void decryptData(byte[] data)
data
- The receive data.