Package com.flowlogix.util
Class ShrinkWrapManipulator
java.lang.Object
com.flowlogix.util.ShrinkWrapManipulator
modifies web.xml according to xpath and function
- Author:
- lprimak
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetContextParamValue(String paramName) static booleanstatic booleanstatic URLtoHttpsURL(URL httpUrl) Transform http to https URL usingsslPortsystem property, and default port 8181 if system property is not definedstatic URLtoHttpsURL(URL httpUrl, String sslPortPropertyName, int defaultPort) voidwebXmlXPath(WebArchive archive, List<ShrinkWrapManipulator.Action> actions) modified web.xml according to xpath and method
-
Field Details
-
INTEGRATION_TEST_MODE_PROPERTY
- See Also:
-
CLIENT_STATE_SAVING
- See Also:
-
SHIRO_NATIVE_SESSIONS
- See Also:
-
SHIRO_EE_DISABLED
- See Also:
-
-
Constructor Details
-
ShrinkWrapManipulator
public ShrinkWrapManipulator()
-
-
Method Details
-
webXmlXPath
modified web.xml according to xpath and method- Parameters:
archive- to modifyactions- list of actions to perform
-
isClientStateSavingIntegrationTest
public static boolean isClientStateSavingIntegrationTest() -
isShiroNativeSessionsIntegrationTest
public static boolean isShiroNativeSessionsIntegrationTest() -
toHttpsURL
Transform http to https URL usingsslPortsystem property, and default port 8181 if system property is not defined- Parameters:
httpUrl- http URL- Returns:
- https URL
-
toHttpsURL
-
getContextParamValue
-