Package com.sun.identity.setup
Class ServicesDefaultValues
- java.lang.Object
-
- com.sun.identity.setup.ServicesDefaultValues
-
public class ServicesDefaultValues extends Object
This class holds the default values of service schema.
-
-
Field Summary
Fields Modifier and Type Field Description static StringRANDOM_SECUREstatic StringRANDOM_SECURE_256
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapgetDefaultValues()Returns the map of default attribute name to its value.static booleanisCookieDomainValid(String cookieDomain)Validates if cookie Domain is syntactically correct.static voidsetDeployURI(String deployURI, Map map)Set the deploy URI.static voidsetServiceConfigValues(IHttpServletRequest request)This method validates the form fields and populates the map with valid values.static StringtagSwap(String orig)Returns the tag swapped string.static StringtagSwap(String orig, boolean bXML)Returns the tag swapped string.
-
-
-
Field Detail
-
RANDOM_SECURE
public static final String RANDOM_SECURE
- See Also:
- Constant Field Values
-
RANDOM_SECURE_256
public static final String RANDOM_SECURE_256
- See Also:
- Constant Field Values
-
-
Method Detail
-
setServiceConfigValues
public static void setServiceConfigValues(IHttpServletRequest request)
This method validates the form fields and populates the map with valid values.- Parameters:
request- is the Servlet Request.
-
isCookieDomainValid
public static boolean isCookieDomainValid(String cookieDomain)
Validates if cookie Domain is syntactically correct.- Parameters:
cookieDomain- is the user specified cookie domain.- Returns:
trueif syntax for cookie domain is correct.
-
getDefaultValues
public static Map getDefaultValues()
Returns the map of default attribute name to its value.- Returns:
- the map of default attribute name to its value.
-
setDeployURI
public static void setDeployURI(String deployURI, Map map)
Set the deploy URI.- Parameters:
deployURI- Deploy URI.map- Service attribute values.
-
tagSwap
public static String tagSwap(String orig)
Returns the tag swapped string.- Parameters:
orig- String to be tag swapped.- Returns:
- the tag swapped string.
-
-