本文整理了Java中org.apache.catalina.connector.Connector.getRedirectPort()
方法的一些代码示例,展示了Connector.getRedirectPort()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Connector.getRedirectPort()
方法的具体详情如下:
包路径:org.apache.catalina.connector.Connector
类名称:Connector
方法名:getRedirectPort
[英]Return the port number to which a request should be redirected if it comes in on a non-SSL port and is subject to a security constraint with a transport guarantee that requires SSL.
[中]如果请求来自非SSL端口并且受到需要SSL的传输保证的安全约束,则返回请求应重定向到的端口号。
代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat
/**
* Gets the network port to which traffic will be redirected if this
* connector handles insecure traffic and the request requires a secure
* connection. Needless to say, this should point to another connector
* configured for SSL.
*/
public int getRedirectPort() {
return connector.getRedirectPort();
}
代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat6
public int getRedirectPort() {
return connector.getRedirectPort();
}
代码示例来源:origin: org.keycloak/spring-boot-container-bundle
public CatalinaRequestAuthenticator(KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
CatalinaHttpFacade facade,
Request request,
GenericPrincipalFactory principalFactory) {
super(facade, deployment, tokenStore, request.getConnector().getRedirectPort());
this.request = request;
this.principalFactory = principalFactory;
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
public int getRedirectPortWithOffset() {
return getRedirectPort() + getPortOffset();
}
代码示例来源:origin: org.keycloak/keycloak-tomcat-core-adapter
public CatalinaRequestAuthenticator(KeycloakDeployment deployment,
AdapterTokenStore tokenStore,
CatalinaHttpFacade facade,
Request request,
GenericPrincipalFactory principalFactory) {
super(facade, deployment, tokenStore, request.getConnector().getRedirectPort());
this.request = request;
this.principalFactory = principalFactory;
}
代码示例来源:origin: tomcat/catalina
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: jboss.web/jbossweb
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: codefollower/Tomcat-Research
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat6
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.jboss.web/jbossweb
int redirectPort = request.getConnector().getRedirectPort();
代码示例来源:origin: org.jboss.resteasy/skeleton-key-as7
ServletOAuthLogin oauth = new ServletOAuthLogin(realmConfiguration, request, response, request.getConnector().getRedirectPort());
String code = oauth.getCode();
if (code == null)
内容来源于网络,如有侵权,请联系作者删除!