|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.common.DomainUtils
Static utility methods for dealing with Domains.
| Method Summary | |
static String |
getDomain()
Deprecated. Get the default domain name that is stored in the properties.txt. |
static String |
getDomain(javax.servlet.http.HttpServletRequest request)
Deprecated. As of version 4.5, to be removed in 8.0 or later. Partially replaced by EntitlementManager.registerDomain(HttpServletRequest) (all known non-deprecated usages immediately called
the EntitlementManager). |
static String |
getDomain(javax.servlet.jsp.PageContext context)
Deprecated. From the PageContext, get the string domain name |
static String |
getDomain(PortalPageContext context)
Deprecated. From the PortalPageContext, get the string domain name |
static String |
getDomain(String domain)
Deprecated. From the String domain, get the string domain name if the input domain is an IP address, the default domain will be returned |
static boolean |
isValidDomainName(String domain)
Deprecated. Check to see if a domain name is valid for Entitlements purposes, meaning that the domain name is valid and is not an IP address and is not "localhost". |
static boolean |
isValidIPAddress(String ipString)
Deprecated. Check to see if a string is a valid IP address. |
static boolean |
isValidSubdomainName(String subdomainName)
Deprecated. Make sure a specific part of a fully qualified hostname (one of the parts delimited by dots) uses DNS-safe characters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static String getDomain(PortalPageContext context)
context - - PortalPageContextpublic static String getDomain(javax.servlet.jsp.PageContext context)
context - - PageContextpublic static String getDomain(javax.servlet.http.HttpServletRequest request)
EntitlementManager.registerDomain(HttpServletRequest) (all known non-deprecated usages immediately called
the EntitlementManager).
request - - HttpServletRequestpublic static String getDomain(String domain)
domain - - domain name (could be IP address)public static String getDomain()
public static boolean isValidDomainName(String domain)
domain - - domain namepublic static boolean isValidIPAddress(String ipString)
ipString - The String representation of an ip address to be validated.ipString is of a valid format.public static boolean isValidSubdomainName(String subdomainName)
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||