本文整理了Java中org.apache.coyote.Request.getRemoteUser
方法的一些代码示例,展示了Request.getRemoteUser
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getRemoteUser
方法的具体详情如下:
包路径:org.apache.coyote.Request
类名称:Request
方法名:getRemoteUser
暂无
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
pushTarget.getRemoteUser().setString(userName);
pushTarget.setRemoteUserNeedsAuthorization(true);
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
private void doConnectorAuthenticationAuthorization(org.apache.coyote.Request req, Request request) {
String username = req.getRemoteUser().toString();
if (username != null) {
if (log.isDebugEnabled()) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
pushTarget.getRemoteUser().setString(userName);
pushTarget.setRemoteUserNeedsAuthorization(true);
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
private void doConnectorAuthenticationAuthorization(org.apache.coyote.Request req, Request request) {
String username = req.getRemoteUser().toString();
if (username != null) {
if (log.isDebugEnabled()) {
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
msg.getBytes(req.getRemoteUser());
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
String username = request.getCoyoteRequest().getRemoteUser().toString();
if (username != null) {
if (log.isDebugEnabled()) {
代码示例来源:origin: jboss.web/jbossweb
String principal = req.getRemoteUser().toString();
if (principal != null) {
request.setUserPrincipal(new CoyotePrincipal(principal));
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
String username = request.getCoyoteRequest().getRemoteUser().toString();
if (username != null) {
if (log.isDebugEnabled()) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
if (tomcatAuthorization || !protocol.getTomcatAuthentication()) {
requestHeaderMessage.getBytes(request.getRemoteUser());
request.setRemoteUserNeedsAuthorization(tomcatAuthorization);
} else {
代码示例来源:origin: org.osivia.portal.core/osivia-portal-jbossas-jbossweb-lib
/* 398 */ String principal = req.getRemoteUser().toString();
/* 399 */ if (principal != null) {
/* 400 */ request.setUserPrincipal(new CoyotePrincipal(principal));
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
String principal = req.getRemoteUser().toString();
if (principal != null) {
request.setUserPrincipal(new CoyotePrincipal(principal));
代码示例来源:origin: tomcat/catalina
String principal = req.getRemoteUser().toString();
if (principal != null) {
request.setUserPrincipal(new CoyotePrincipal(principal));
代码示例来源:origin: codefollower/Tomcat-Research
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: org.jboss.web/jbossweb
requestHeaderMessage.getBytes(request.getRemoteUser());
代码示例来源:origin: jboss.web/jbossweb
requestHeaderMessage.getBytes(request.getRemoteUser());
内容来源于网络,如有侵权,请联系作者删除!