Package sk.ipesoft.d2000.d2japi
Interface D2SessionParameters
-
public interface D2SessionParameters
Parameters to create new session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationMethod
getAuthenticationMethod()
Get method of authentication.java.lang.String
getHostName()
Get name of the computer that the connecting client is running on.java.lang.String
getPassword()
java.lang.String
getSecureNonce()
Get security nonce token forAuthenticationMethod.secureNonceToken
method.java.lang.String
getSessionName()
SpnegoHandler
getSpnegoHandler()
Get SPNEGO handler forAuthenticationMethod.spnego
method.java.lang.String
getUserName()
boolean
isStaticProcess()
Gettrue
if new process is static.
-
-
-
Method Detail
-
getHostName
java.lang.String getHostName()
Get name of the computer that the connecting client is running on.- Returns:
- computer name
-
getSessionName
java.lang.String getSessionName()
- Returns:
- Name of created session; the session will be represented as a D2000 process with that name in the D2000 object model. In case session name is null, connector will create own session name.
-
getUserName
java.lang.String getUserName()
- Returns:
- Name of existing D2000 user.
-
getPassword
java.lang.String getPassword()
- Returns:
- Password of existing D2000 user.
-
isStaticProcess
boolean isStaticProcess()
Gettrue
if new process is static.- Returns:
true
if new process is static
-
getAuthenticationMethod
AuthenticationMethod getAuthenticationMethod()
Get method of authentication.- Returns:
- authentication method
-
getSecureNonce
java.lang.String getSecureNonce()
Get security nonce token forAuthenticationMethod.secureNonceToken
method.- Returns:
- secure nonce
-
getSpnegoHandler
SpnegoHandler getSpnegoHandler()
Get SPNEGO handler forAuthenticationMethod.spnego
method.- Returns:
- SPNEGO handler
-
-