com.eruces.teagent.TEAgentConnectionFactory
The TEAgentConnectionFactory class creates different types of connections.
Static Public Attributes
| Type | Name | Description |
|---|---|---|
| final short | NORMAL | The NORMAL field creates a pure connection. |
| final short | USER_PASSWORD | The USER_PASSWORD field creates an authenticated connection. |
| final short | SECURE_USER_PASSWORD | The SECURE_USER_PASSWORD field creates an SSL/TLS connection. |
| final short | SSLM | The SSLM field creates a mutually authenticated SSL/TLS connection. |
Static Public Member Functions
| Member | Description |
|---|---|
synchronized TEAgentConnection getInstance(short nType) | The getInstance method gets an instance of a TEAgentConnection object. |
TEAgentConnection getConnection(short nType) | The getConnection method gets a TEAgentConnection object. |
TEAgentConnection getConnection(TEConnectionType type) | The getConnection method gets a TEAgentConnection object. |
AuthenticationContext getAuthenticationContext(TEAuthenticationType type) | The getAuthenticationContext method gets the type of authentication in use. |
Public Member Functions
| Member | Description |
|---|---|
Set keySetConn() | The keySetConn method returns a set of connection property keys. |
Set keySetAuth() | The keySetAuth method returns a set of authentication property keys. |
Collection valuesConn() | The valuesConn method returns a collection of connection property values. |
Collection valuesAuth() | The valuesAuth method returns a collection of authentication property values. |
Member Function Documentation
synchronized TEAgentConnection getInstance(short nType)
The getInstance method gets an instance of a TEAgentConnection object.
(Using getConnection)
Parameters
| Parameter | Description |
|---|---|
nType | A short variable representing the type of connection being retrieved. |
Returns: TEAgentConnection
TEAgentConnection getConnection(short nType)
The getConnection method gets a TEAgentConnection object.
Parameters
| Parameter | Description |
|---|---|
nType | A short variable representing the type of connection being retrieved. |
Returns: TEAgentConnection
TEAgentConnection getConnection(TEConnectionType type)
The getConnection method gets a TEAgentConnection object.
Parameters
| Parameter | Description |
|---|---|
type | A TEAgentConnectionType object indicating the type of connection. |
Returns: TEAgentConnection
AuthenticationContext getAuthenticationContext(TEAuthenticationType type)
The getAuthenticationContext method gets the type of authentication in use.
Parameters
| Parameter | Description |
|---|---|
type | A TEAuthenticationType object indicating the type of authentication in use. |
Returns: Returns an AuthenticationContext object.
Set keySetConn()
The keySetConn method returns a set of connection property keys.
Deprecated
Returns: An unmodifiable Set view of the connection type property keys contained in this factory.
Set keySetAuth()
The keySetAuth method returns a set of authentication property keys.
Deprecated
Returns: Returns an unmodifiable Set view of the authentication module property keys contained in this factory.
Collection valuesConn()
The valuesConn method returns a collection of connection property values.
Deprecated
Returns: Returns an unmodifiable Collection view of the connection property values contained in this factory.
Collection valuesAuth()
The valuesAuth method returns a collection of authentication property values.
Deprecated
Returns: Returns an unmodifiable Collection view of the authentication module property values contained in this factory.
Examples
- Helper_Main.java
- Java_Connect_Cert.java
- Java_Connect_LDAP.java
- Sample_Admin_ACL_Operations.java
- Sample_Admin_ACL_Template_Operations.java
- Sample_Admin_Connect.java
- Sample_Admin_Group_Operations.java
- Sample_Admin_Principal_Operations.java
- Sample_Admin_Reviewer_Operations.java
- Sample_Admin_Role_Operations.java
- Sample_Admin_Template_Directory_Operations.java
- Sample_Bonus_Crypt_Image.java
- Sample_Java_Hash.java
- Sample_Other.java
- Sample_User_Crypto_Operations.java
- Sample_User_Operations.java