Package org.jasig.portal.spring.security

Examples of org.jasig.portal.spring.security.PortalPersonUserDetails


        assertEquals(context, creds);
    }

    @Test
    public void testAuth() throws IOException, ServletException {
        PortalPersonUserDetails details = (PortalPersonUserDetails) filter.getPreAuthenticatedPrincipal(request);
       
        assertEquals("testuser", details.getUsername());
    }
View Full Code Here


            return null;
        }
       
        // otherwise, use the current IPerson as the UserDetails
        final IPerson person = personManager.getPerson(request);      
        final UserDetails details = new PortalPersonUserDetails(person);
        return details;
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.spring.security.PortalPersonUserDetails

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.