public class UddiAdminHub extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UddiAdminHub.AuthStyle |
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log
The Log4j logger.
|
static String |
LOGGER_NAME
The logger name
|
static String |
PROP_ADMIN_LOCALHOST_ONLY |
static String |
PROP_AUTH_TYPE |
static String |
PROP_AUTO_LOGOUT |
static String |
PROP_AUTO_LOGOUT_TIMER |
static String |
PROP_CONFIG_NODE
the name of the 'node' property in the config
|
static String |
PROP_PREFIX |
Modifier and Type | Method and Description |
---|---|
void |
die()
This kills any authentication tokens, logs the user out and nulls out
all services
|
static UddiAdminHub |
getInstance(javax.servlet.ServletContext application,
javax.servlet.http.HttpSession _session)
This is the singleton accessor UddiHub.
|
org.apache.juddi.v3.client.config.ClientConfig |
GetJuddiClientConfig()
gets a reference to the current juddi client config file.
|
String |
getSampleSave_ClientSubscriptionInfo() |
String |
go(javax.servlet.http.HttpServletRequest parameters)
Handles all API calls to the juddi web service
|
boolean |
isAdminLocalhostOnly()
If false, the configuration page will be available from anywhere.
|
static boolean |
isExceptionExpiration(Exception ex)
return true if the word expire is in the exception or the UDDI error
code representing an expired token
|
boolean |
isSecure()
returns true if we are using JAXWS transport AND all of the URLs
start with https://
|
static void |
reset(javax.servlet.http.HttpSession _session)
removes the Hub from the current http session
|
String |
SendAdvanced(Object request,
String method) |
String |
verifyLogin() |
public static final String LOGGER_NAME
public static final org.apache.commons.logging.Log log
public static final String PROP_CONFIG_NODE
public static final String PROP_AUTH_TYPE
public static final String PROP_AUTO_LOGOUT
public static final String PROP_AUTO_LOGOUT_TIMER
public static final String PROP_PREFIX
public static final String PROP_ADMIN_LOCALHOST_ONLY
public static void reset(javax.servlet.http.HttpSession _session)
_session
- public void die()
public static UddiAdminHub getInstance(javax.servlet.ServletContext application, javax.servlet.http.HttpSession _session) throws Exception
application
- _session
- Exception
public boolean isSecure()
public org.apache.juddi.v3.client.config.ClientConfig GetJuddiClientConfig() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
- gpublic String go(javax.servlet.http.HttpServletRequest parameters)
parameters
- public String getSampleSave_ClientSubscriptionInfo()
public static boolean isExceptionExpiration(Exception ex)
ex
- public boolean isAdminLocalhostOnly()
public String verifyLogin()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.