tech.pisoft.teadmin.RemoteServerAdmin
The RemoteServerAdmin class supports remote server management.
Deprecated
Since: 3.1
© Pi Soft, 2018-2026 · Tricryption Engine 8.1
Inheritance
- Inherits tech.pisoft.teagent.IConnection
Public Member Functions
| Member | Description |
|---|---|
RemoteServerAdmin() | Constructor. |
PrincipalInfo[] getRemotePrincipalList(int nSysID, String[] strClsName) | Gets list of principals of given type from remote server. |
Member Function Documentation
RemoteServerAdmin()
Constructor.
PrincipalInfo[] getRemotePrincipalList(int nSysID, String[] strClsName)
Gets list of principals of given type from remote server.
DeprecatedIn addition to this class's own standing class-level deprecation above. Above the wire object limit this BULK remote form FAILS: the peer Key Service refuses a listing at the 1,025th object rather than emitting a package no conforming reader can read (WireLimits::MAX_OBJECT_PARAMS = 1024), and the refusal arrives here, not inside the CALLING Key Service's decoder. Use AdministrationQuery#getPrincipalList(int, String, Query), which sends the SAME (system id, flag) trailer and therefore selects the same peer, with a Query carrying the order, limit and offset. ⚠ RETAINED AND STILL WORKING against a peer below the limit; the deprecation is a warning about scale, not a removal notice.
Parameters
| Parameter | Description |
|---|---|
nSysID | SystemID |
strClsName | class name of principal (Should only provide "UserAndPasswordInfo" and/or "LdapPrincipalInfo") |
Exceptions
| Exception | Description |
|---|---|
TEAgentException | if the request cannot be completed on the connection, or the Key Service returns an error for it (delivered as a TEServerException). |
Returns: array of principals