Package | Description |
---|---|
edu.ucsb.nceas.metacat.admin | |
edu.ucsb.nceas.metacat.properties | |
edu.ucsb.nceas.metacat.util |
Modifier and Type | Method and Description |
---|---|
void |
ReplicationAdmin.handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle configuration of replication -- pass through to the other handler
|
Modifier and Type | Method and Description |
---|---|
static boolean |
SkinPropertyService.areSkinsConfigured()
Reports whether properties are fully configured.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
OrganizationUtil.areOrganizationsConfigured()
Reports whether LDAP is fully configured.
|
static boolean |
SkinUtil.areSkinsConfigured()
Reports whether skins are fully configured.
|
static boolean |
ConfigurationUtil.bypassConfiguration()
Reports whether the metacat configuration utility should be run.
|
static boolean |
AuthUtil.canInsertOrUpdate(java.lang.String username,
java.lang.String[] groups)
Check if the specified user can insert the document
|
static void |
GeoserverUtil.changePassword(java.lang.String username,
java.lang.String password)
Change the password on the geoserver.
|
static java.lang.String |
AuthUtil.createLDAPString(java.lang.String username,
java.lang.String organization,
java.util.Vector<java.lang.String> dnList)
Creates an ldap credentail string from the username, organization
and dn list.
|
static java.lang.String |
SystemUtil.discoverExternalDir()
Attempt to discover the external (to the metacat installation)
directory where metacat will hold backup files.
|
static void |
RequestUtil.forwardRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.util.Hashtable<java.lang.String,java.lang.String[]> params)
Forward a request that was received by this servlet on to another JSP
page or servlet to continue handling the request.
|
static void |
RequestUtil.forwardRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String destinationUrl,
java.util.Hashtable<java.lang.String,java.lang.String[]> params)
Forward a request that was received by this servlet on to another JSP
page or servlet to continue handling the request.
|
static java.lang.String |
RequestUtil.get(java.lang.String urlString,
java.util.Hashtable<java.lang.String,java.lang.String[]> params) |
static java.util.Vector<java.lang.String> |
AuthUtil.getAdministrators()
Get the administrators from metacat.properties
|
static java.util.Vector<java.lang.String> |
AuthUtil.getAllowedSubmitters()
Get the allowed submitters from metacat.properties
|
static java.util.Vector<java.lang.String> |
AuthUtil.getDeniedSubmitters()
Get the denied submitters from metacat.properties
|
static java.util.Vector<java.lang.String> |
AuthUtil.getModerators()
Get the moderators from metacat.properties
|
static java.util.Vector<java.lang.String> |
OrganizationUtil.getOrganizations()
gets a list of organization names from metacat.properties.
|
static java.util.Vector<java.lang.String> |
OrganizationUtil.getOrgDNs(java.lang.String orgName)
gets a list of organization names from metacat.properties.
|
static java.util.Vector<java.lang.String> |
SystemUtil.getPathsForIndexing()
Get a list of xml paths that need to be indexed
|
static java.lang.String |
SystemUtil.getStoredBackupDir()
Gets the stored backup location.
|
static boolean |
AuthUtil.isAdministrator(java.lang.String username,
java.lang.String[] groups)
Check if the specified user is part of the administrators list
|
static boolean |
AuthUtil.isAllowedSubmitter(java.lang.String username,
java.lang.String[] groups)
Check if the specified user is part of the moderators list
|
static boolean |
AuthUtil.isAuthConfigured()
Reports whether LDAP is fully configured.
|
static void |
DocumentUtil.isAuthorized(java.io.PrintWriter out,
java.util.Hashtable<java.lang.String,java.lang.String[]> params,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static boolean |
ConfigurationUtil.isBackupDirConfigured()
Check if the application.backupDir property is populated in
metacat.properties and that it points to a writable directory.
|
static boolean |
DatabaseUtil.isDatabaseConfigured()
Reports whether database is fully configured.
|
static boolean |
DataONEConfigUtil.isDataOneConfigured()
Reports whether dataONE is configured.
|
static boolean |
AuthUtil.isDeniedSubmitter(java.lang.String username,
java.lang.String[] groups)
Check if the specified user is part of the moderators list
|
static boolean |
ConfigurationUtil.isEZIDConfigured() |
static boolean |
GeoserverUtil.isGeoserverConfigured()
Reports whether geoserver is configured.
|
static boolean |
AuthUtil.isModerator(java.lang.String username,
java.lang.String[] groups)
Check if the specified user is part of the moderators list
|
static boolean |
AuthUtil.isUserLoggedIn(javax.servlet.http.HttpServletRequest request)
Checks to see if the user is logged in by grabbing the session from the
request and seeing if it exists in the global session list.
|
static boolean |
AuthUtil.isUserLoggedInAsAdmin(javax.servlet.http.HttpServletRequest request)
Checks to see if the user is logged in as admin by first checking if the
user is logged in and then seeing if the user's account is on the
administrators list in metacat.properties.
|
static boolean |
AuthUtil.logUserIn(javax.servlet.http.HttpServletRequest request,
java.lang.String userName,
java.lang.String password)
log the user in against ldap.
|
static void |
ResponseUtil.redirectResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String destination)
Redirect a response.
|
static void |
GeoserverUtil.writeConfig() |
static void |
ResponseUtil.writeFileToOutput(javax.servlet.http.HttpServletResponse response,
java.lang.String fileDir,
java.lang.String fileName) |
static void |
ResponseUtil.writeFileToOutput(javax.servlet.http.HttpServletResponse response,
java.lang.String fileDir,
java.lang.String fileName,
int bufferSize) |
static void |
SystemUtil.writeStoredBackupFile(java.lang.String backupPath) |
Copyright © 2020 Regents of the University of California. All Rights Reserved.