Package org.apache.geronimo.tomcat

Examples of org.apache.geronimo.tomcat.JAASTomcatPrincipal


            String principal = subject.getPublicCredentials().iterator().toString();
            if (log.isDebugEnabled())
                log.debug(sm.getString("jaasRealm.loginContextCreated", principal));

            // Return the appropriate Principal for this authenticated Subject
            JAASTomcatPrincipal jaasPrincipal = new JAASTomcatPrincipal(principal);
            jaasPrincipal.setSubject(subject);

            return (jaasPrincipal);

        } catch (Throwable t) {
            log.error("error ", t);
View Full Code Here


                if (log.isDebugEnabled())
                    log.debug(sm.getString("jaasRealm.loginContextCreated", principalName));

                // Return the appropriate Principal for this authenticated
                // Subject
                JAASTomcatPrincipal jaasPrincipal = new JAASTomcatPrincipal(principalName);
                jaasPrincipal.setSubject(subject);

                return (jaasPrincipal);
            } else {
                if (log.isDebugEnabled())
                    log.debug("Login Failed - null userID");
View Full Code Here

            }
            if (log.isDebugEnabled()) {
                log.debug(sm.getString("jaasRealm.authenticateSuccess", username));
            }
*/
            JAASTomcatPrincipal jaasPrincipal = new JAASTomcatPrincipal(username);
            jaasPrincipal.setSubject(subject);

            return (jaasPrincipal);

        } catch (Throwable t) {
            log.error("error ", t);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.tomcat.JAASTomcatPrincipal

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.