Uses of Class
edu.ucsb.nceas.metacat.shared.MetacatUtilException
-
Uses of MetacatUtilException in edu.ucsb.nceas.metacat.admin
Modifier and TypeMethodDescriptionprotected void
LoginAdmin.handle
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle all login-related cases: 1.boolean
LoginAdmin.needsLoginAdminHandling
(javax.servlet.http.HttpServletRequest request, String action) Utility method to determine if an incoming request action requires intervention by this class -
Uses of MetacatUtilException in edu.ucsb.nceas.metacat.util
Modifier and TypeMethodDescriptionstatic boolean
OrganizationUtil.areOrganizationsConfigured()
Reports whether LDAP is fully configured.static String
AuthUtil.authenticateUserWithCN
(javax.servlet.http.HttpServletRequest request) Authenticate the user against the CN server and/or any locally-configured certificates.static boolean
ConfigurationUtil.bypassConfiguration()
Reports whether the metacat configuration utility should be run.static boolean
AuthUtil.canInsertOrUpdate
(String username, String[] groups) Check if the specified user can insert the documentstatic void
GeoserverUtil.changePassword
(String username, String password) Change the password on the geoserver.static 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, String destinationUrl, Hashtable<String, 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, Hashtable<String, String[]> params) Forward a request that was received by this servlet on to another JSP page or servlet to continue handling the request.static String
AuthUtil.getAdministrators()
Get the administrators from metacat.propertiesAuthUtil.getAllowedSubmitters()
Get the allowed submitters from metacat.propertiesAuthUtil.getDeniedSubmitters()
Get the denied submitters from metacat.propertiesAuthUtil.getModerators()
Get the moderators from metacat.propertiesOrganizationUtil.getOrganizations()
gets a list of organization names from metacat.properties.gets a list of organization names from metacat.properties.static String
SystemUtil.getStoredBackupDir()
Gets the stored backup location.static boolean
AuthUtil.isAdministrator
(String username, String[] groups) Check if the specified user is part of the administrators liststatic boolean
AuthUtil.isAllowedSubmitter
(String username, String[] groups) Check if the specified user is part of the moderators liststatic boolean
AuthUtil.isAuthConfigured()
Reports whether LDAP is fully configured.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
(String username, String[] groups) Check if the specified user is part of the moderators liststatic boolean
ConfigurationUtil.isEZIDConfigured()
static boolean
GeoserverUtil.isGeoserverConfigured()
Reports whether geoserver is configured.static boolean
AuthUtil.isModerator
(String username, String[] groups) Check if the specified user is part of the moderators liststatic 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 void
AuthUtil.populateAllowedSubmitters()
Get the vector of allowed submitter credentials from metacat.properties and put into global allowedSubmitters liststatic void
GeoserverUtil.writeConfig()
static void
SystemUtil.writeStoredBackupFile
(String backupPath)