Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Utility method to retrieve the ApplicationContext of the system
public static java.lang.String getCsrfTokenName()
Returns the name of the CRSF token
public static java.lang.String getCsrfTokenValue(javax.servlet.http.HttpServletRequest request)
Returns the value of the CRSF token in the request
public static org.joget.commons.util.DataEncryption getDataEncryption()
Gets the data encryption implementation
public static java.lang.String getDomainName(java.lang.String url)
Gets the domain name from a given URL
public static org.joget.commons.util.NonceGenerator getNonceGenerator()
...
Check the content is a wrapped in a security envelop if data encryption implementation is exist
public static boolean isAllowedDomain(java.lang.String domain, java.util.List<java.lang.String> whitelist)
Verify the domain name against a whitelist
public void setDataEncryption(org.joget.commons.util.DataEncryption deImpl)
...