Package org.apache.tomcat.util.aaa

Examples of org.apache.tomcat.util.aaa.SimplePrincipal


                    msg.getString();
                } else { // Honor auth done by HTTP Server
                    req.setRemoteUser( msg.getString());
                    // XXX recycle ?
                    // Note that roles are not integrated with apache
                    req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
                }
                break;

      case SC_A_AUTH_TYPE    :
    req.setAuthType( msg.getString());
View Full Code Here


                    if (isTomcatAuthentication())
                        dummy=readString(ajpin, null);
                    else {
                        req.setRemoteUser( readString(ajpin, null));
                        // Note that roles are not integrated with apache
                        req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
                    }
        req.setAuthType(readString(ajpin, null));
        //remote port
        dummy = readString(ajpin, null);
        //        System.out.println("XXX rport " + dummy );
View Full Code Here

                    msg.getString();
                } else { // Honor auth done by HTTP Server
                    req.setRemoteUser( msg.getString());
                    // XXX recycle ?
                    // Note that roles are not integrated with apache
                    req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
                }
                break;

      case SC_A_AUTH_TYPE    :
    req.setAuthType( msg.getString());
View Full Code Here

                    msg.getString();
                } else { // Honor auth done by HTTP Server
                    req.setRemoteUser( msg.getString());
                    // XXX recycle ?
                    // Note that roles are not integrated with apache
                    req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
                }
                break;

      case SC_A_AUTH_TYPE    :
    req.setAuthType( msg.getString());
View Full Code Here

                    if (isTomcatAuthentication())
                        dummy=readString(ajpin, null);
                    else {
                        req.setRemoteUser( readString(ajpin, null));
                        // Note that roles are not integrated with apache
                        req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
                    }
        req.setAuthType(readString(ajpin, null));
        //remote port
        dummy = readString(ajpin, null);
        //        System.out.println("XXX rport " + dummy );
View Full Code Here

TOP

Related Classes of org.apache.tomcat.util.aaa.SimplePrincipal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.