public class AdminServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements AdminService
AdminService.App
Constructor and Description |
---|
AdminServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
addAcl(java.lang.String resourceType,
Acl acl,
java.util.Map<java.lang.Integer,java.lang.String> subjMap)
Adds new set of ACLs based on the contents of the given ACL definition.
|
boolean |
addAclInstance(java.lang.String instanceName)
Creates an empty container for the specified ACL instance.
|
boolean |
addCert(CertDef cert)
Adds a new certificate according to its definition.
|
boolean |
addDatabase(java.lang.String name,
DatabaseDef logging) |
boolean |
addExports(java.lang.String name,
ExportsDef logging) |
boolean |
addGroup(GroupDef group)
Adds new group account definition.
|
boolean |
addLogging(java.lang.String name,
LoggingDef logging) |
boolean |
addPersistence(java.lang.String name,
PersistenceDef persistence) |
boolean |
addProcess(ProcessDef process,
java.io.Serializable ext)
Adds new process account definition.
|
boolean |
addRuntime(java.lang.String serverName,
java.lang.String accountName,
RuntimeDef runtime) |
boolean |
addStartup(java.lang.String name,
StartupDef logging) |
boolean |
addUser(UserDef user,
java.io.Serializable ext)
Adds new user account definition.
|
boolean |
backupDirectory(java.lang.String newfile)
Backup the directory into a new file.
|
int |
bulkAuthModeUpdate(int targetAccounts,
java.lang.String[] excludedAccounts,
int authMode,
java.lang.String authPlugin)
Preforms bulk update of authentication settings of the accounts of the
specified type.
|
void |
cancelRereadDir()
Cancel (possibly) planned refreshing operation.
|
boolean |
canRefresh()
Check if current user can perform a refresh.
|
boolean |
changeGroupUsers(java.lang.String name,
java.lang.String[] additions,
java.lang.String[] deletions)
Changes the group by adding and/or removing users.
|
boolean |
changeHolidays(java.util.Date[] additions,
java.util.Date[] deletions)
Modifies defined holidays.
|
JarOpErrorCode |
changeJarHookClass(java.lang.String jar,
java.lang.String hookClass)
Change the server-wide or global hook class of the specific jar.
|
JarOpErrorCode |
changeJarHooksType(boolean serverWide,
boolean move)
Make the current server use server-wide or global hooks, optionally
copying or moving hooks from one scope to another.
|
boolean |
changeResourceNames(java.lang.String[] additions,
java.lang.String[] deletions)
Modifies resource name definitions.
|
TaggedName |
checkGroup(java.lang.String name)
Check the group account existence.
|
TaggedName |
checkProcess(java.lang.String name)
Check the process account existence.
|
TaggedName |
checkUser(java.lang.String name)
Check the user account existence.
|
void |
clearMessages()
Clears the old messages saved on the server, if any.
|
boolean |
cloneAcl(java.lang.String resourceType,
java.lang.String instanceName,
int oid,
int cloneOid)
Clones the specified ACL to another position within the same ACL instance.
|
boolean |
cloneAclInstance(java.lang.String instanceFrom,
java.lang.String instanceTo)
Clones entire ACL instance.
|
boolean |
cloneAclInstance(java.lang.String resourceType,
java.lang.String instanceFrom,
java.lang.String instanceTo)
Clones the resource specific part of an ACL instance.
|
boolean |
cloneDatabase(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
cloneExports(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
cloneGroup(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls)
Clones an existing group account into a new one.
|
boolean |
cloneLogging(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
clonePersistence(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
cloneProcess(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls)
Clones an existing process account into a new one.
|
boolean |
cloneRuntime(java.lang.String serverNameFrom,
java.lang.String accountNameFrom,
java.lang.String serverNameTo,
java.lang.String accountNameTo) |
boolean |
cloneStartup(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
cloneUser(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls)
Clones an existing user account into a new one, password included.
|
boolean |
cloneUser(java.lang.String nameFrom,
java.lang.String nameTo,
boolean acls,
java.lang.String newPassword)
Clones an existing user account into a new one and assigns the provided
password to the clone.
|
boolean |
deleteAcl(java.lang.String resourceType,
java.lang.String instanceName,
int oid)
Deletes the specified ACL from the specified ACL instance.
|
boolean |
deleteAclInstance(java.lang.String instanceName)
Deletes entire ACL instance from the directory.
|
boolean |
deleteAclInstance(java.lang.String resourceType,
java.lang.String instanceName)
Deletes the resource specific part of an ACL instance from the directory.
|
boolean |
deleteCert(java.lang.String alias,
boolean force)
Deletes an existing certificate conditionally or unconditionally.
|
boolean |
deleteDatabase(java.lang.String name) |
boolean |
deleteExports(java.lang.String name) |
boolean |
deleteGroup(java.lang.String name)
Deletes a group account definition.
|
boolean |
deleteLogging(java.lang.String name) |
boolean |
deletePersistence(java.lang.String name) |
boolean |
deleteProcess(java.lang.String name)
Deletes a process account definition.
|
boolean |
deleteRuntime(java.lang.String serverName,
java.lang.String accountName) |
boolean |
deleteStartup(java.lang.String name) |
boolean |
deleteUser(java.lang.String name)
Deletes a user account definition.
|
JarOpErrorCode |
deregisterJar(java.lang.String jar,
boolean force,
boolean removeFromDirectory)
Remove registration for the specified jar.
|
JarOpErrorCode |
deregisterJarAPI(java.lang.String jar,
java.lang.String interfaceClass,
boolean force)
Remove registration of the specified API in the specified jar.
|
JarOpErrorCode |
deregisterJarFromDirectory(java.lang.String jar,
java.lang.String storedHookClass)
Remove jar registration from the directory.
|
java.lang.Float |
forceFloatSerialization()
This method forces GWT to include Float into the list of serializable types.
|
private date[] |
fromDTO(java.util.Date[] dts)
Converts
java.util.Date[] , the array of data transferable objects, into
the array of com.goldencode.p2j.util.date objects. |
AclDef |
getAcl(java.lang.String resourceType,
java.lang.String instanceName)
Gets the full ACL definition information from the directory for the
specified ACL instance and resource type.
|
SessionInfo[] |
getActiveSessions(java.lang.String jar,
java.lang.String apiInterfaceClass)
Get the list of all active sessions which have executed the specified
API or API(s) associated to the specified jar.
|
AdminDef |
getAdminDef()
Returns the configuration information about the administration interface
itself.
|
AclDef[] |
getAllAcls(java.lang.String instanceName)
Gets the full ACL definition information from the directory for the
specified ACL instance or all of them.
|
AuditDef |
getAudit()
Gets the audit.
|
AuthConfigDef |
getAuthConfig()
Gets authentication configuration, which includes authentication mode,
password aging and security tracing level.
|
java.lang.String[] |
getAvailableJarAPIImplClasses(java.lang.String jar,
java.lang.String interfaceClass)
Get the list of classes which reside in the specified jar and
statically implement all methods defined by the specified interface.
|
java.lang.String[] |
getAvailableJarAPIInterfaces(java.lang.String jar,
boolean showRegistered)
Get the list of interfaces available in the specified jar file.
|
java.lang.String[] |
getAvailableJarHookClasses(java.lang.String jar)
Get the list of classes which reside into the specified jar file and
implement the
InitTermListener
interface. |
CertDef |
getCert(java.lang.String alias)
Returns a DER-encoded certificate like those found in *.PEM files.
|
TaggedName[] |
getCertAccounts(java.lang.String alias)
Returns an array of all account names with their description for accounts
sharing this certificate.
|
java.util.Map<java.lang.String,java.lang.String> |
getCertificateDNProperties(CertDef cd,
boolean owner)
Get a map of the owner or issuer Distinctive Name properties.
|
java.lang.String |
getCertificateDNProperty(CertDef cd,
java.lang.String prop,
boolean owner)
Get the value of the specified property, from the Distinctive Name entry associated
with the owner or issuer.
|
TaggedName[] |
getCertificateHierarchy(java.lang.String alias)
Given a certificate alias, it will compute the certificate signing chain.
|
java.util.Map<java.lang.String,java.lang.Object> |
getCertificateProperties(CertDef cd)
Loads the X509 certificate from the specified definition and returns
a map with properties for:
CertificateUtils.CERT_OWNER - this property will keep a Map of Distinctive
Name properties for the owner
CertificateUtils.CERT_ISSUER - this property will keep a Map of Distinctive
Name properties for the issuer
CertificateUtils.CERT_VALIDITY_NOT_BEFORE - the date from which this
certificate starts to be valid. |
TaggedName[] |
getCertProcesses(java.lang.String alias)
Returns an array of process account names with their description for
processes sharing this certificate.
|
TaggedName[] |
getCertUsers(java.lang.String alias)
Returns an array of user account names with their description for users
sharing this certificate.
|
DatabaseDef |
getDatabase(java.lang.String name) |
java.lang.String[] |
getDatabases()
Get the list of databases managed by this P2J server.
|
java.lang.String[] |
getDatabaseTables(java.lang.String database)
Get the list of tables of the given database.
|
AclDef |
getEffectiveAcls(java.lang.String resourceType)
Gets the combined ACL definition information from the directory for the
specified resource type.
|
ExportsDef |
getExports(java.lang.String name) |
GroupDef |
getGroup(java.lang.String name)
Returns the group definition for the specified group name.
|
RecordInfo[] |
getLockRecords()
Gets the records which have been previously locked in the given context
using
lockRecords(com.goldencode.p2j.admin.RecordInfo[]) . |
LoggingDef |
getLogging(java.lang.String name) |
TaggedName |
getManagedLibsDirInformation()
Get information about managed libraries directory (path to it and
information whether it exists).
|
java.lang.String[][] |
getMessages(boolean all)
Returns an array of messages accumulated since the previous call or
all messages since the last message cleanup.
|
PersistenceDef |
getPersistence(java.lang.String name) |
ReportPreview |
getPreviewImages(ReportRequest reportRequest,
com.google.gwt.view.client.Range range)
Gets report preview.
|
ProcessDef |
getProcess(java.lang.String name)
Returns the process definition for the specified process name.
|
AdminProfile[] |
getProfile(java.lang.String[] name)
Returns the admin permissions profile for an arbitrary set of resource
instance names.
|
AdminProfile[] |
getProfile(java.lang.String name,
int[] perm)
Returns the admin permissions profile for an arbitrary set of permissions
for a resource instance name.
|
RecordLockInfo[] |
getRecordLockList()
Creates a report of all record locks for the server.
|
TaggedName[] |
getRegisteredJarAPIs(java.lang.String jar)
Get the list of APIs registered for the specified jar.
|
TaggedName[] |
getRegisteredJars()
Get the list of registered jars (which represent customer libs).
|
java.util.Map<java.lang.String,java.lang.Object> |
getReportParametersMap()
Returns the map of report parameters to their values saved in the directory.
|
java.lang.String |
getResourceType(java.lang.String name)
Returns the registered resource type name for the given resource plugin.
|
RuntimeDef |
getRuntime(java.lang.String serverName,
java.lang.String accountName) |
java.lang.String |
getServerName()
Returns the server's name.
|
SessionInfo[] |
getSessionList()
Creates a report of all current user and process sessions.
|
StartupDef |
getStartup(java.lang.String name) |
java.lang.String |
getStoredJarHookClass(java.lang.String jar)
Get hook class specified in the directory for the target jar.
|
java.lang.String[] |
getUnregisteredJars()
Get the list of jars, which reside in the customer libs directory,
but haven't been registered yet and do not present in the server
classpath.
|
UserDef |
getUser(java.lang.String name)
Returns the user account definition for the specified account name.
|
java.lang.String |
getVersionInfo()
Returns the current application version.
|
boolean |
isMaster()
Tells whether the server can modify the directory.
|
boolean |
isRefreshPending()
Check if there is pending security cache refresh.
|
java.lang.Boolean |
isSelfSigned(CertDef cert)
Check if the given certificate is self-signed.
|
java.lang.Boolean |
isUsingMultiClassLoader()
Allows to determine whether
MultiClassLoader is used as the
system class loader. |
java.lang.Boolean |
isUsingServerWideHooks()
Returns information whether server-wide or global hooks are used for
the current server.
|
java.lang.String[] |
listAclInstances()
Locates all instances of ACLs in the directory and returns their names.
|
java.lang.String[] |
listAclInstances(java.lang.String resourceType)
Locates all instances of ACLs in the directory and returns their names
for those instances which have ACLs defined for the specified resource
type.
|
TaggedName[] |
listAuthCerts(boolean unusedOnly)
Returns an array of defined Certificate Authority certificates
with their distinctive names.
|
TaggedName[] |
listAuthPlugins()
Get the list of available auth plugins.
|
java.lang.String[] |
listDatabaseInstances() |
java.lang.String[] |
listExportsInstances() |
TaggedName[] |
listGroups()
Returns an array of defined group names.
|
TaggedName[] |
listGroupUsers(java.lang.String name)
Enumerates the users of a named group.
|
java.util.Date[] |
listHolidays()
Returns an array of defined holidays.
|
java.lang.String[] |
listInstanceAcls(java.lang.String instanceName)
Lists resource names for which the specified ACL instance has ACLs
defined.
|
java.lang.String[] |
listLoggingInstances() |
TaggedName[] |
listPeerCerts(boolean unusedOnly)
Returns an array of defined peer (non-CA) certificates
with their distinctive names.
|
java.lang.String[] |
listPersistenceInstances() |
TaggedName[] |
listProcesses()
Returns an array of defined process names with their descriptions.
|
java.lang.String[] |
listResourceNames()
Returns an array of resource plugin names.
|
java.lang.String[] |
listRuntimeAccounts() |
java.lang.String[] |
listRuntimeNames() |
java.lang.String[] |
listRuntimeServers() |
java.lang.String[] |
listServers()
Returns the list of all server instances found in the directory
under the "/server" node.
|
java.lang.String[] |
listServers(java.lang.String containers)
Returns the list of server instances under the "/server" node, that
have the specified container (or nested chain of) as a child.
|
java.lang.String[] |
listStartupInstances() |
TaggedName[] |
listUserGroups(java.lang.String name)
Enumerates the groups the named user is part of.
|
TaggedName[] |
listUsers()
Returns an array of defined user account names and their owners.
|
boolean |
lockForRereadDir(int seconds)
Lock directory for rereading from the file.
|
boolean |
lockRecords(RecordInfo[] records)
Lock the specified records.
|
boolean |
moveAcl(java.lang.String resourceType,
java.lang.String instanceName,
int oid,
int newOid)
Moves the specified ACL to another position within the same ACL instance.
|
boolean |
moveAcl(java.lang.String resourceType,
java.lang.String instanceName,
int oid,
java.lang.String newInstanceName)
Moves the specified ACL to another ACL instance, private or shared.
|
boolean |
moveAclInstance(java.lang.String instanceFrom,
java.lang.String instanceTo)
Moves entire ACL instance.
|
boolean |
moveAclInstance(java.lang.String resourceType,
java.lang.String instanceFrom,
java.lang.String instanceTo)
Moves the resource specific part of an ACL instance.
|
boolean |
moveCert(java.lang.String aliasFrom,
java.lang.String aliasTo)
Changes the certificate's alias.
|
boolean |
moveDatabase(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
moveExports(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
moveLogging(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
movePersistence(java.lang.String nameFrom,
java.lang.String nameTo) |
boolean |
moveRuntime(java.lang.String serverNameFrom,
java.lang.String accountNameFrom,
java.lang.String serverNameTo,
java.lang.String accountNameTo) |
boolean |
moveStartup(java.lang.String nameFrom,
java.lang.String nameTo) |
java.lang.String |
peekMessage()
Returns the most recent server message without changing its state
on the server.
|
JarOpErrorCode |
registerJar(java.lang.String jar,
java.lang.String hookClass,
boolean storeInDirectory)
Register the specified jar file (which represent a customer lib).
|
JarOpErrorCode |
registerJarAPI(java.lang.String interfaceClass,
java.lang.String implementationClass)
Register API specified by the given interface and implementation class.
|
int |
rereadDirectory()
Reread the directory file into the backend's cache after obtaining
a refresh lock.
|
boolean |
resequenceAcls(java.lang.String resourceType,
java.lang.String instanceName,
int start,
int step)
Assigns new object IDs sequentially for all ACLs in the given ACL instance
and resource type.
|
java.lang.String |
searchCert(java.lang.String dn)
Searches the CA directory for an alias of the certificate by the
distinctive name of the subject.
|
java.lang.String[] |
searchRuntimeByAccount(java.lang.String account,
java.lang.String itemName) |
boolean |
setAcl(java.lang.String resourceType,
Acl acl,
java.util.Map<java.lang.Integer,java.lang.String> subjMap,
boolean setInstance,
boolean setInstanceMode,
boolean setSubjects,
boolean setRights)
Conditionally edits the existing ACL based on the contents of the given
ACL and the selected conditions.
|
boolean |
setAudit(AuditDef audit)
Sets the audit.
|
boolean |
setAuthConfig(AuthConfigDef authConfig)
Sets authentication configuration from the specified instance, which
includes authentication mode, password aging and security tracing level.
|
boolean |
setCert(CertDef cert)
Replaces an existing certificate with the given one.
|
boolean |
setDatabase(DatabaseDef database) |
boolean |
setExports(ExportsDef logging) |
boolean |
setGroup(GroupDef group)
Changes the group definition for the named group.
|
boolean |
setLogging(LoggingDef logging) |
boolean |
setPersistence(PersistenceDef persistence) |
boolean |
setProcess(ProcessDef process)
Changes the process definition for the named process.
|
boolean |
setProcess(ProcessDef process,
java.io.Serializable ext)
Changes the process definition for the named process.
|
boolean |
setRuntime(RuntimeDef runtime) |
boolean |
setStartup(StartupDef startup) |
boolean |
setTargetFile(java.lang.String name,
boolean create)
Sets the specified directory file as the offline target.
|
int |
setTargetLive(boolean stayCurrent)
Sets the live server's directory as the target.
|
boolean |
setUser(UserDef user)
Changes the user account definition for the named account.
|
boolean |
setUser(UserDef user,
java.io.Serializable ext)
Changes the user account definition for the named account.
|
boolean |
shutdown()
Shuts the server down.
|
int |
targetRefresh()
Refreshes the current security cache if the target is the live directory
and only if there were changes performed since the last call to the
targetRefresh().
|
void |
terminateSession(int sid)
Forcibly terminate the specified session.
|
private java.util.Date[] |
toDTO(date[] dts)
Converts
com.goldencode.p2j.util.date[] to the array of
|
boolean |
unlockRecords()
Unlock the records which has been previously locked in the given context
using
lockRecords(com.goldencode.p2j.admin.RecordInfo[]) . |
private static UserDef |
updateHashedPassword(UserDef userDef)
Update the hashed password if the value of the plain password is given and then the plain
password is cleared.
|
int |
validateCertificate(CertDef cert)
Validate the given certificate, by its PEM data.
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public java.lang.String getServerName()
getServerName
in interface AdminService
public boolean isMaster()
isMaster
in interface AdminService
true
if it canpublic int setTargetLive(boolean stayCurrent)
setTargetLive
in interface AdminService
stayCurrent
- if true
, all operations affect the most current
generation of the security cache, otherwise they affect
the generation attached to the admin sessionpublic boolean setTargetFile(java.lang.String name, boolean create)
setTargetFile
in interface AdminService
name
- name of a directory file to use as the targetcreate
- true
means a new directory file should be created,
otherwise the named directory file should exist.true
if the new target was set successfullypublic int targetRefresh()
targetRefresh
in interface AdminService
public boolean isRefreshPending()
isRefreshPending
in interface AdminService
true
if refresh is pending and false
is there is no pending refresh or current user has not enough
rights to perform it.public boolean canRefresh()
canRefresh
in interface AdminService
true
user has enough rights to perform refresh.public java.lang.String[][] getMessages(boolean all)
getMessages
in interface AdminService
all
- if true
, then old and new messages are retrieved,
otherwise new messages onlypublic java.lang.String peekMessage()
peekMessage
in interface AdminService
null
if nothing is generatedpublic void clearMessages()
clearMessages
in interface AdminService
public AdminDef getAdminDef()
getAdminDef
in interface AdminService
public AdminProfile[] getProfile(java.lang.String[] name)
getProfile
in interface AdminService
name
- array of admin non-leaf resource instance names to querynull
public AdminProfile[] getProfile(java.lang.String name, int[] perm)
getProfile
in interface AdminService
name
- admin leaf resource instance name to queryperm
- array of permissions to querynull
public boolean backupDirectory(java.lang.String newfile)
backupDirectory
in interface AdminService
newfile
- name of a backup file to createtrue
if backup was successful.public boolean lockForRereadDir(int seconds)
lockForRereadDir
in interface AdminService
seconds
- Seconds to wait before lock will expire.true
if lock was successful.public int rereadDirectory()
rereadDirectory
in interface AdminService
AdminConstants.ERR_NO_LOCK
- is returned when no lock is presentAdminConstants.ERR_LOCK_EXPIRED
- is returned if lock is present
but it is expired or belongs to other thread.AdminConstants.ERR_CANT_REFRESH_BACKEND
- is returned when
backend can't update directory.AdminConstants.ERR_ILLEGAL
- is returned when no rights etcpublic void cancelRereadDir()
cancelRereadDir
in interface AdminService
public SessionInfo[] getSessionList()
getSessionList
in interface AdminService
null
if insufficient rights exist to obtain the
list.public void terminateSession(int sid)
terminateSession
in interface AdminService
sid
- Session identifier.public RecordLockInfo[] getRecordLockList()
getRecordLockList
in interface AdminService
null
if insufficient rights exist to obtain the
list.public java.lang.String[] getDatabases()
getDatabases
in interface AdminService
public java.lang.String[] getDatabaseTables(java.lang.String database)
getDatabaseTables
in interface AdminService
database
- Target database.public boolean lockRecords(RecordInfo[] records)
You can unlock records using unlockRecords()
.
lockRecords
in interface AdminService
records
- Records to lock.true
if records were successfully locked.public RecordInfo[] getLockRecords()
lockRecords(com.goldencode.p2j.admin.RecordInfo[])
.getLockRecords
in interface AdminService
public boolean unlockRecords()
lockRecords(com.goldencode.p2j.admin.RecordInfo[])
.unlockRecords
in interface AdminService
true
if records were successfully unlocked.public boolean shutdown()
shutdown
in interface AdminService
true
if successfulpublic java.lang.String[] listResourceNames()
listResourceNames
in interface AdminService
public java.lang.String getResourceType(java.lang.String name)
getResourceType
in interface AdminService
name
- plugin namenull
if no matchpublic boolean changeResourceNames(java.lang.String[] additions, java.lang.String[] deletions)
changeResourceNames
in interface AdminService
additions
- array of resource names to add or null
if no additions are specifieddeletions
- array of resource names to delete or null
if no deletions are specifiedpublic AuthConfigDef getAuthConfig()
getAuthConfig
in interface AdminService
public boolean setAuthConfig(AuthConfigDef authConfig)
setAuthConfig
in interface AdminService
authConfig
- an instance loaded with the required configurationprivate date[] fromDTO(java.util.Date[] dts)
java.util.Date[]
, the array of data transferable objects, into
the array of com.goldencode.p2j.util.date
objects.dts
- The array of data transferable objects representing by java.util.Date
com.goldencode.p2j.util.date
objectsprivate java.util.Date[] toDTO(date[] dts)
com.goldencode.p2j.util.date[]
to the array of
java.util.Date
data transferable objects.
dts
- The array of com.goldencode.p2j.util.date
objectspublic java.util.Date[] listHolidays()
listHolidays
in interface AdminService
public boolean changeHolidays(java.util.Date[] additions, java.util.Date[] deletions)
changeHolidays
in interface AdminService
additions
- array of dates to add or null
if no additions are specifieddeletions
- array of dates to delete or null
if no deletions are specifiedpublic AuditDef getAudit()
getAudit
in interface AdminService
public boolean setAudit(AuditDef audit)
setAudit
in interface AdminService
audit
- The auditpublic TaggedName[] listGroups()
listGroups
in interface AdminService
null
public TaggedName checkGroup(java.lang.String name)
checkGroup
in interface AdminService
name
- group namenull
if the named group does not existpublic GroupDef getGroup(java.lang.String name)
getGroup
in interface AdminService
name
- group namenull
if no such grouppublic boolean setGroup(GroupDef group)
setGroup
in interface AdminService
group
- group definitiontrue
if successfully changed the grouppublic boolean addGroup(GroupDef group)
addGroup
in interface AdminService
group
- group definition for a new accounttrue
if successfully added the grouppublic boolean deleteGroup(java.lang.String name)
deleteGroup
in interface AdminService
name
- group name for the group being deletedtrue
if successfully deleted the grouppublic boolean cloneGroup(java.lang.String nameFrom, java.lang.String nameTo, boolean acls)
cloneGroup
in interface AdminService
nameFrom
- group name for the source groupnameTo
- group name for the cloneacls
- true
tells to clone ACLs as welltrue
if successfully cloned the grouppublic TaggedName[] listGroupUsers(java.lang.String name)
listGroupUsers
in interface AdminService
name
- group namenull
if there is no such grouppublic boolean changeGroupUsers(java.lang.String name, java.lang.String[] additions, java.lang.String[] deletions)
changeGroupUsers
in interface AdminService
name
- group nameadditions
- array of user names to be added to the group; may be emptydeletions
- array of user names to be excluded from the group;
may be emptytrue
if successfully changed the grouppublic TaggedName[] listUsers()
listUsers
in interface AdminService
null
public TaggedName checkUser(java.lang.String name)
checkUser
in interface AdminService
name
- user account namenull
if the named account does not existpublic UserDef getUser(java.lang.String name)
getUser
in interface AdminService
name
- user account namenull
if no such userpublic boolean setUser(UserDef user)
setUser
in interface AdminService
user
- user account definitiontrue
if successfully changed the accountpublic boolean setUser(UserDef user, java.io.Serializable ext)
setUser
in interface AdminService
user
- user account definitionext
- optional extension container for custom account extensionstrue
if successfully changed the accountpublic boolean addUser(UserDef user, java.io.Serializable ext)
addUser
in interface AdminService
user
- user account definitionext
- optional extension container for custom account extensionstrue
if successfully added the accountpublic boolean deleteUser(java.lang.String name)
deleteUser
in interface AdminService
name
- user account name being deletedtrue
if successfully deleted the accountpublic boolean cloneUser(java.lang.String nameFrom, java.lang.String nameTo, boolean acls)
cloneUser
in interface AdminService
nameFrom
- user account name for the sourcenameTo
- user account name for the cloneacls
- true
tells to clone ACLs as welltrue
if successfully cloned the user accountpublic boolean cloneUser(java.lang.String nameFrom, java.lang.String nameTo, boolean acls, java.lang.String newPassword)
cloneUser
in interface AdminService
nameFrom
- user account name for the sourcenameTo
- user account name for the cloneacls
- true
tells to clone ACLs as wellnewPassword
- a replacement password for the clonetrue
if successfully cloned the user accountpublic TaggedName[] listUserGroups(java.lang.String name)
listUserGroups
in interface AdminService
name
- user account namenull
if there is no such user etcpublic TaggedName[] listProcesses()
listProcesses
in interface AdminService
null
public TaggedName checkProcess(java.lang.String name)
checkProcess
in interface AdminService
name
- process account namenull
if the named account does not existpublic ProcessDef getProcess(java.lang.String name)
getProcess
in interface AdminService
name
- process namenull
if no such processpublic boolean setProcess(ProcessDef process)
setProcess
in interface AdminService
process
- process definitiontrue
if successfully changed the processpublic boolean setProcess(ProcessDef process, java.io.Serializable ext)
setProcess
in interface AdminService
process
- process definitionext
- optional extension container for custom account extensionstrue
if successfully changed the processpublic boolean addProcess(ProcessDef process, java.io.Serializable ext)
addProcess
in interface AdminService
process
- process definition for a new accountext
- optional extension container for custom account extensionstrue
if successfully added the processpublic boolean deleteProcess(java.lang.String name)
deleteProcess
in interface AdminService
name
- process account name being deletedtrue
if successfully deleted the processpublic boolean cloneProcess(java.lang.String nameFrom, java.lang.String nameTo, boolean acls)
cloneProcess
in interface AdminService
nameFrom
- process name for the sourcenameTo
- process name for the cloneacls
- true
tells to clone ACLs as welltrue
if successfully cloned the processpublic TaggedName[] listAuthCerts(boolean unusedOnly)
listAuthCerts
in interface AdminService
unusedOnly
- if true
, lists unused certificates only, otherwise
all certificatesnull
public TaggedName[] listPeerCerts(boolean unusedOnly)
listPeerCerts
in interface AdminService
unusedOnly
- if true
, lists unused certificates only, otherwise
all certificatesnull
public TaggedName[] getCertUsers(java.lang.String alias)
getCertUsers
in interface AdminService
alias
- certificate alias namenull
public TaggedName[] getCertProcesses(java.lang.String alias)
getCertProcesses
in interface AdminService
alias
- certificate alias namenull
public TaggedName[] getCertAccounts(java.lang.String alias)
getCertAccounts
in interface AdminService
alias
- certificate alias namenull
public CertDef getCert(java.lang.String alias)
getCert
in interface AdminService
alias
- the alias of the certificate to getnull
public boolean setCert(CertDef cert)
setCert
in interface AdminService
cert
- encoded certificatetrue
if replaced, false
if errorspublic boolean addCert(CertDef cert)
addCert
in interface AdminService
cert
- encoded certificatetrue
if added, false
if errorspublic boolean moveCert(java.lang.String aliasFrom, java.lang.String aliasTo)
moveCert
in interface AdminService
aliasFrom
- current certificate's aliasaliasTo
- new certificate's aliastrue
if changed, false
if errorspublic java.lang.String searchCert(java.lang.String dn)
searchCert
in interface AdminService
dn
- distinctive namenull
.public boolean deleteCert(java.lang.String alias, boolean force)
deleteCert
in interface AdminService
alias
- the alias of the certificate being deletedforce
- if true
, the certificate is deleted even if
in usetrue
if deleted, false
if errorspublic java.lang.String[] listAclInstances()
ACL instances are the directory branches that store ACLs. The shared
instance is the one found under /security/acl
branch.
Private instances are found under /security/acls/name
branches.
listAclInstances
in interface AdminService
public java.lang.String[] listAclInstances(java.lang.String resourceType)
ACL instances are the directory branches that store ACLs. The shared
instance is the one found under /security/acl
branch.
Private instances are found under /security/acls/name
branches.
listAclInstances
in interface AdminService
resourceType
- name of the resource of interestpublic java.lang.String[] listInstanceAcls(java.lang.String instanceName)
listInstanceAcls
in interface AdminService
instanceName
- name of the ACL instance; empty string for the shared onepublic AclDef getAcl(java.lang.String resourceType, java.lang.String instanceName)
getAcl
in interface AdminService
resourceType
- name of the resource of interest; can't be null
instanceName
- name of the ACL instance; empty string for the shared one;
can't be null
null
public AclDef[] getAllAcls(java.lang.String instanceName)
getAllAcls
in interface AdminService
instanceName
- name of the ACL instance; empty string for the shared one;
if null
, all ACLs are returned and some may be
combinednull
public AclDef getEffectiveAcls(java.lang.String resourceType)
getEffectiveAcls
in interface AdminService
resourceType
- name of the resource of interest; can't be null
null
public boolean addAcl(java.lang.String resourceType, Acl acl, java.util.Map<java.lang.Integer,java.lang.String> subjMap)
addAcl
in interface AdminService
resourceType
- name of the resource to add the ACL foracl
- ACL definition, that should come fully defined, including the
instance name.subjMap
- a map to translate numeric subject IDs back to namestrue
if added, false
if errorspublic boolean setAcl(java.lang.String resourceType, Acl acl, java.util.Map<java.lang.Integer,java.lang.String> subjMap, boolean setInstance, boolean setInstanceMode, boolean setSubjects, boolean setRights)
setAcl
in interface AdminService
resourceType
- name of the resource to set the ACL foracl
- ACL definitionsubjMap
- a map to translate numeric subject IDs back to names;
needed only when setSubjects is true
and can be
null
all other timessetInstance
- true
if setting the resource instance namesetInstanceMode
- true
if setting the resource instance name modesetSubjects
- true
if setting the subjects IDssetRights
- true
if setting the rights for this ACLtrue
if set, false
if errorspublic boolean moveAcl(java.lang.String resourceType, java.lang.String instanceName, int oid, java.lang.String newInstanceName)
moveAcl
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the source ACL instance; empty string for the shared oneoid
- ACL object ID that selects the ACL to movenewInstanceName
- name of the target ACL instance; empty string for the shared onetrue
if moved, false
if errorspublic boolean moveAcl(java.lang.String resourceType, java.lang.String instanceName, int oid, int newOid)
moveAcl
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the source ACL instance; empty string for the shared oneoid
- ACL object ID that selects the ACL to movenewOid
- new ACL object IDtrue
if moved, false
if errorspublic boolean deleteAcl(java.lang.String resourceType, java.lang.String instanceName, int oid)
deleteAcl
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the source ACL instance; empty string for the shared oneoid
- ACL object ID that selects the ACL to deletetrue
if deleted, false
if errorspublic boolean cloneAcl(java.lang.String resourceType, java.lang.String instanceName, int oid, int cloneOid)
cloneAcl
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the source ACL instance; empty string for the shared oneoid
- ACL object ID that selects the ACL to clonecloneOid
- ACL object ID for the clonetrue
if cloned, false
if errorspublic boolean resequenceAcls(java.lang.String resourceType, java.lang.String instanceName, int start, int step)
resequenceAcls
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the source ACL instance; empty string for the shared onestart
- the starting numberstep
- the incrementtrue
if success, false
if errorspublic boolean addAclInstance(java.lang.String instanceName)
addAclInstance
in interface AdminService
instanceName
- name of the ACL instance; empty string for the shared onetrue
if created, false
if errorspublic boolean deleteAclInstance(java.lang.String instanceName)
deleteAclInstance
in interface AdminService
instanceName
- name of the ACL instance; empty string for the shared onetrue
if deleted, false
if errorspublic boolean deleteAclInstance(java.lang.String resourceType, java.lang.String instanceName)
deleteAclInstance
in interface AdminService
resourceType
- name of the resource of interestinstanceName
- name of the ACL instance; empty string for the shared onetrue
if deleted, false
if errorspublic boolean cloneAclInstance(java.lang.String instanceFrom, java.lang.String instanceTo)
cloneAclInstance
in interface AdminService
instanceFrom
- name of the source ACL instance; empty string for the shared oneinstanceTo
- name of the target ACL instance; empty string for the shared onetrue
if cloned, false
if errorspublic boolean cloneAclInstance(java.lang.String resourceType, java.lang.String instanceFrom, java.lang.String instanceTo)
cloneAclInstance
in interface AdminService
resourceType
- name of the resource of interestinstanceFrom
- name of the source ACL instance; empty string for the shared oneinstanceTo
- name of the target ACL instance; empty string for the shared onetrue
if cloned, false
if errorspublic boolean moveAclInstance(java.lang.String instanceFrom, java.lang.String instanceTo)
moveAclInstance
in interface AdminService
instanceFrom
- name of the source ACL instance; empty string for the shared oneinstanceTo
- name of the target ACL instance; empty string for the shared onetrue
if moved, false
if errorspublic boolean moveAclInstance(java.lang.String resourceType, java.lang.String instanceFrom, java.lang.String instanceTo)
moveAclInstance
in interface AdminService
resourceType
- name of the resource of interestinstanceFrom
- name of the source ACL instance; empty string for the shared oneinstanceTo
- name of the target ACL instance; empty string for the shared onetrue
if moved, false
if errorspublic java.lang.String[] listServers()
listServers
in interface AdminService
public java.lang.String[] listServers(java.lang.String containers)
listServers
in interface AdminService
containers
- one or more container names separated by "/"public TaggedName[] listAuthPlugins()
listAuthPlugins
in interface AdminService
null
if no plugins are available.public int bulkAuthModeUpdate(int targetAccounts, java.lang.String[] excludedAccounts, int authMode, java.lang.String authPlugin)
bulkAuthModeUpdate
in interface AdminService
targetAccounts
- Type of accounts to update. Account.ACC_USER
and
Account.ACC_GROUP
are supported.excludedAccounts
- The list of IDs of the accounts that should NOT be updated. Can
be null
.authMode
- Authentication mode to set.authPlugin
- Authentication plugin to set.-1
if an error
has occured.public TaggedName[] getRegisteredJars()
getRegisteredJars
in interface AdminService
TaggedName
represents a single jar and contains jar
file name, fully qualified class name of the active hook (it
may be null
) and value indicating whether active
hook class matches stored hook class which is
"true"
if they match.public java.lang.String[] getUnregisteredJars()
getUnregisteredJars
in interface AdminService
public java.lang.String[] getAvailableJarHookClasses(java.lang.String jar)
InitTermListener
interface. These classes can be used as "hook" classes which should
be called after the jar representing a customer lib was successfully
registered, to initialize it.getAvailableJarHookClasses
in interface AdminService
jar
- The name of the target jar file.InitTermListener
interface.public java.lang.String getStoredJarHookClass(java.lang.String jar)
getStoredJarHookClass
in interface AdminService
jar
- The name of the target jar file (should be loaded).null
if the jar has
no hook specified.public JarOpErrorCode registerJar(java.lang.String jar, java.lang.String hookClass, boolean storeInDirectory)
registerJar
in interface AdminService
jar
- The name of the jar file to register.hookClass
- Fully qualified name of the "hook" class for this jar, can be
null
.storeInDirectory
- If true
then the jar is registered in the
directory, else only runtime registration is performed.public JarOpErrorCode deregisterJar(java.lang.String jar, boolean force, boolean removeFromDirectory)
deregisterJar
in interface AdminService
jar
- Jar file which registration should be removed.force
- If it is true
then any sessions that have executed
API(s) associated to this jar are forcibly terminated. If this
parameter is false
then, if the jar has any
sessions that have executed API(s) associated to it, the
function returns
JarOpErrorCode.ACTIVE_SESSIONS_PRESENT
.removeFromDirectory
- If true
then the jar registration is removed from
the directory, else only runtime deregistration is performed.public JarOpErrorCode deregisterJarFromDirectory(java.lang.String jar, java.lang.String storedHookClass)
deregisterJarFromDirectory
in interface AdminService
jar
- The name of the jar to be deregistered.storedHookClass
- The name of the hook class which is stored for this jar in the
directory or null
if no hook is defined for this
jar.public JarOpErrorCode changeJarHookClass(java.lang.String jar, java.lang.String hookClass)
changeJarHookClass
in interface AdminService
jar
- The name of the target jar file.hookClass
- The new hook class for the target jar. null
indicates that no hook class should be specified.public TaggedName[] getRegisteredJarAPIs(java.lang.String jar)
getRegisteredJarAPIs
in interface AdminService
jar
- The name of the target jar file.public java.lang.String[] getAvailableJarAPIInterfaces(java.lang.String jar, boolean showRegistered)
getAvailableJarAPIInterfaces
in interface AdminService
jar
- The name of the target jar file.showRegistered
- If true
then resulting list contains interfaces
that have already have been registered for an API for the given
jar (assuming that each API is defined using an unique
interface).public java.lang.String[] getAvailableJarAPIImplClasses(java.lang.String jar, java.lang.String interfaceClass)
getAvailableJarAPIImplClasses
in interface AdminService
jar
- The name of the target jar file.interfaceClass
- Fully qualified name of the target interface.public JarOpErrorCode registerJarAPI(java.lang.String interfaceClass, java.lang.String implementationClass)
registerJarAPI
in interface AdminService
interfaceClass
- Fully qualified name of the interface which defines the target
API.implementationClass
- Fully qualified name of the class which implements the target
API.public JarOpErrorCode deregisterJarAPI(java.lang.String jar, java.lang.String interfaceClass, boolean force)
deregisterJarAPI
in interface AdminService
jar
- The name of the target jar file.interfaceClass
- Fully qualified name of the interface which defines the target
API.force
- If it is true
then any sessions that have executed
the target API are forcibly terminated. If this parameter is
false
then, if the jar has any
sessions that have executed API(s) associated to it, the
function returns
JarOpErrorCode.ACTIVE_SESSIONS_PRESENT
.public JarOpErrorCode changeJarHooksType(boolean serverWide, boolean move)
changeJarHooksType
in interface AdminService
serverWide
- if true
then server-wide hooks should be used,
else global hooks should be used.move
- if true
then existing hooks are copied/moved from
one scope to another, otherwise they don't.public SessionInfo[] getActiveSessions(java.lang.String jar, java.lang.String apiInterfaceClass)
getActiveSessions
in interface AdminService
jar
- The name of the target jar file.apiInterfaceClass
- Fully qualified name of the interface which defines the target
API. Can be null
if you want to get sessions of
all APIs of the target jar.public java.lang.Boolean isUsingServerWideHooks()
isUsingServerWideHooks
in interface AdminService
true
if server-wide hooks are used,
false
if global hooks are used, null
if you have insufficient access rights.public java.lang.Boolean isUsingMultiClassLoader()
MultiClassLoader
is used as the
system class loader.isUsingMultiClassLoader
in interface AdminService
true
if
MultiClassLoader
is used
as the system class loader, false
if the standard
class loader is used, null
if you do not have
enough permissionspublic TaggedName getManagedLibsDirInformation()
getManagedLibsDirInformation
in interface AdminService
"true"
if this directory exists and is accessible.
If you do not have admin rights, null
is returned.public java.lang.String[] listLoggingInstances()
listLoggingInstances
in interface AdminService
public LoggingDef getLogging(java.lang.String name)
getLogging
in interface AdminService
public boolean setLogging(LoggingDef logging)
setLogging
in interface AdminService
public boolean addLogging(java.lang.String name, LoggingDef logging)
addLogging
in interface AdminService
public boolean cloneLogging(java.lang.String nameFrom, java.lang.String nameTo)
cloneLogging
in interface AdminService
public boolean moveLogging(java.lang.String nameFrom, java.lang.String nameTo)
moveLogging
in interface AdminService
public boolean deleteLogging(java.lang.String name)
deleteLogging
in interface AdminService
public java.lang.String[] listExportsInstances()
listExportsInstances
in interface AdminService
public ExportsDef getExports(java.lang.String name)
getExports
in interface AdminService
public boolean setExports(ExportsDef logging)
setExports
in interface AdminService
public boolean addExports(java.lang.String name, ExportsDef logging)
addExports
in interface AdminService
public boolean cloneExports(java.lang.String nameFrom, java.lang.String nameTo)
cloneExports
in interface AdminService
public boolean moveExports(java.lang.String nameFrom, java.lang.String nameTo)
moveExports
in interface AdminService
public boolean deleteExports(java.lang.String name)
deleteExports
in interface AdminService
public java.lang.String[] listStartupInstances()
listStartupInstances
in interface AdminService
public StartupDef getStartup(java.lang.String name)
getStartup
in interface AdminService
public boolean setStartup(StartupDef startup)
setStartup
in interface AdminService
public boolean addStartup(java.lang.String name, StartupDef logging)
addStartup
in interface AdminService
public boolean cloneStartup(java.lang.String nameFrom, java.lang.String nameTo)
cloneStartup
in interface AdminService
public boolean moveStartup(java.lang.String nameFrom, java.lang.String nameTo)
moveStartup
in interface AdminService
public boolean deleteStartup(java.lang.String name)
deleteStartup
in interface AdminService
public java.lang.String[] listPersistenceInstances()
listPersistenceInstances
in interface AdminService
public PersistenceDef getPersistence(java.lang.String name)
getPersistence
in interface AdminService
public boolean setPersistence(PersistenceDef persistence)
setPersistence
in interface AdminService
public boolean addPersistence(java.lang.String name, PersistenceDef persistence)
addPersistence
in interface AdminService
public boolean clonePersistence(java.lang.String nameFrom, java.lang.String nameTo)
clonePersistence
in interface AdminService
public boolean movePersistence(java.lang.String nameFrom, java.lang.String nameTo)
movePersistence
in interface AdminService
public boolean deletePersistence(java.lang.String name)
deletePersistence
in interface AdminService
public java.lang.String[] listDatabaseInstances()
listDatabaseInstances
in interface AdminService
public DatabaseDef getDatabase(java.lang.String name)
getDatabase
in interface AdminService
public boolean setDatabase(DatabaseDef database)
setDatabase
in interface AdminService
public boolean addDatabase(java.lang.String name, DatabaseDef logging)
addDatabase
in interface AdminService
public boolean cloneDatabase(java.lang.String nameFrom, java.lang.String nameTo)
cloneDatabase
in interface AdminService
public boolean moveDatabase(java.lang.String nameFrom, java.lang.String nameTo)
moveDatabase
in interface AdminService
public boolean deleteDatabase(java.lang.String name)
deleteDatabase
in interface AdminService
public java.lang.String[] listRuntimeNames()
listRuntimeNames
in interface AdminService
public java.lang.String[] listRuntimeServers()
listRuntimeServers
in interface AdminService
public java.lang.String[] listRuntimeAccounts()
listRuntimeAccounts
in interface AdminService
public java.lang.String[] searchRuntimeByAccount(java.lang.String account, java.lang.String itemName)
searchRuntimeByAccount
in interface AdminService
public RuntimeDef getRuntime(java.lang.String serverName, java.lang.String accountName)
getRuntime
in interface AdminService
public boolean setRuntime(RuntimeDef runtime)
setRuntime
in interface AdminService
public boolean addRuntime(java.lang.String serverName, java.lang.String accountName, RuntimeDef runtime)
addRuntime
in interface AdminService
public boolean cloneRuntime(java.lang.String serverNameFrom, java.lang.String accountNameFrom, java.lang.String serverNameTo, java.lang.String accountNameTo)
cloneRuntime
in interface AdminService
public boolean moveRuntime(java.lang.String serverNameFrom, java.lang.String accountNameFrom, java.lang.String serverNameTo, java.lang.String accountNameTo)
moveRuntime
in interface AdminService
public boolean deleteRuntime(java.lang.String serverName, java.lang.String accountName)
deleteRuntime
in interface AdminService
public TaggedName[] getCertificateHierarchy(java.lang.String alias)
getCertificateHierarchy
in interface AdminService
alias
- The certificate from which to start chain buildingpublic int validateCertificate(CertDef cert)
validateCertificate
in interface AdminService
cert
- The PEM representation of the certificatepublic java.util.Map<java.lang.String,java.lang.String> getCertificateDNProperties(CertDef cd, boolean owner)
getCertificateDNProperties
in interface AdminService
cd
- The certificate definition from which the info will be extracted.owner
- true
if the owner property should be retrieved;
false
for the issuer property.null
if the certificate PEM data
could not be loaded.public java.lang.String getCertificateDNProperty(CertDef cd, java.lang.String prop, boolean owner)
getCertificateDNProperty
in interface AdminService
cd
- The certificate definition from which the info will be extracted.owner
- true
if the owner property should be retrieved;
false
for the issuer property.public java.util.Map<java.lang.String,java.lang.Object> getCertificateProperties(CertDef cd)
CertificateUtils.CERT_OWNER
- this property will keep a Map of Distinctive
Name properties for the owner
CertificateUtils.CERT_ISSUER
- this property will keep a Map of Distinctive
Name properties for the issuer
CertificateUtils.CERT_VALIDITY_NOT_BEFORE
- the date from which this
certificate starts to be valid.
CertificateUtils.CERT_VALIDITY_NOT_AFTER
- the date from which this
certificate's validity period ends.
getCertificateProperties
in interface AdminService
cd
- The certificate definition from which the info will be extracted.null
if the certificate PEM data
could not be loaded.public java.lang.Boolean isSelfSigned(CertDef cert)
isSelfSigned
in interface AdminService
cert
- The certificate which should be checked.true
if this certificate is self-signedpublic ReportPreview getPreviewImages(ReportRequest reportRequest, com.google.gwt.view.client.Range range) throws java.io.IOException
getPreviewImages
in interface AdminService
reportRequest
- Holds all required data to build the target reportrange
- The preview rangejava.io.IOException
- The IO exception if there is a failed IO operationpublic java.lang.String getVersionInfo()
getVersionInfo
in interface AdminService
public java.lang.Float forceFloatSerialization()
AdminServerImpl.getReportParametersMap()
.forceFloatSerialization
in interface AdminService
private static UserDef updateHashedPassword(UserDef userDef)
userDef
- User account definitionpublic java.util.Map<java.lang.String,java.lang.Object> getReportParametersMap()
getReportParametersMap
in interface AdminService