Package org.springframework.security.web.authentication.preauth.j2ee

Examples of org.springframework.security.web.authentication.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource


     * @return the
     *         {@link J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource}
     *         to use.
     */
    private J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource createWebAuthenticationDetailsSource() {
        J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource detailsSource = new J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource();
        SimpleMappableAttributesRetriever rolesRetriever = new SimpleMappableAttributesRetriever();
        rolesRetriever.setMappableAttributes(mappableRoles);
        detailsSource.setMappableRolesRetriever(rolesRetriever);

        detailsSource = postProcess(detailsSource);
        return detailsSource;
    }
View Full Code Here


     * @return the
     *         {@link J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource}
     *         to use.
     */
    private J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource createWebAuthenticationDetailsSource() {
        J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource detailsSource = new J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource();
        SimpleMappableAttributesRetriever rolesRetriever = new SimpleMappableAttributesRetriever();
        rolesRetriever.setMappableAttributes(mappableRoles);
        detailsSource.setMappableRolesRetriever(rolesRetriever);

        detailsSource = postProcess(detailsSource);
        return detailsSource;
    }
View Full Code Here

TOP

Related Classes of org.springframework.security.web.authentication.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource

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.