Package org.jvnet.glassfish.comms.security.auth.impl

Examples of org.jvnet.glassfish.comms.security.auth.impl.PAssertedAuthenticator.authenticate()


        TargetTuple remoteHost = ((SipServletRequestImpl) request).getInitialRemote();
        String host = "";
        if (remoteHost != null) {
            host = remoteHost.getIP();
        }
        Principal authPrincipal = auth.authenticate(request, host,
                identityAuthRealm, auth.INTERMEDIATE);
        if (authPrincipal != null) {
            ((SipServletRequestImpl) request).setUserPrincipal(authPrincipal);
            ((SipServletRequestImpl) request).setUser(authPrincipal.getName());
        } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.