List of usage examples for org.apache.shiro.web.filter.authz SslFilter HTTPS_SCHEME
String HTTPS_SCHEME
To view the source code for org.apache.shiro.web.filter.authz SslFilter HTTPS_SCHEME.
Click Source Link
From source file:com.wms.studio.filter.HttpFilter.java
License:Apache License
protected String getScheme(String requestScheme, int port) { if (port == this.port) { return this.scheme; } else if (port == SslFilter.DEFAULT_HTTPS_PORT) { return SslFilter.HTTPS_SCHEME; } else {/*from w ww. j a v a 2 s . c o m*/ return requestScheme; } }