Package com.logigear.spring.mvc.security

Examples of com.logigear.spring.mvc.security.CustomWebSecurityExpressionRoot


public class CustomWebSecurityExpressionHandler extends AbstractSecurityExpressionHandler<FilterInvocation> {

    @Override
    protected SecurityExpressionOperations createSecurityExpressionRoot(
            Authentication authentication, FilterInvocation invocation) {
        CustomWebSecurityExpressionRoot root = new CustomWebSecurityExpressionRoot(authentication, invocation);
        root.setPermissionEvaluator(getPermissionEvaluator());
        root.setTrustResolver(new AuthenticationTrustResolverImpl());
        return root;
    }
View Full Code Here


public class CustomWebSecurityExpressionHandler extends LogigearWebSecurityExpressionHandler<CustomWebSecurityExpressionRoot> {

    @Override
    protected CustomWebSecurityExpressionRoot getExpressionRootInstance(Authentication authentication, FilterInvocation invocation) {
        CustomWebSecurityExpressionRoot root = new CustomWebSecurityExpressionRoot(authentication, invocation);
        return root;
    }
View Full Code Here

TOP

Related Classes of com.logigear.spring.mvc.security.CustomWebSecurityExpressionRoot

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.