Package org.candlepin.auth.interceptor

Examples of org.candlepin.auth.interceptor.SecurityHole


            // do nothing here since we don't establish a principal with this class
        }

        @Override
        public Object invoke(MethodInvocation invocation) throws Throwable {
            SecurityHole securityHole = AuthUtil.checkForSecurityHoleAnnotation(
                invocation.getMethod());

            Principal principal = principalProvider.get();
            verifyAccess(invocation.getMethod(), principal, getArguments(invocation),
                securityHole);
View Full Code Here


     * @return the Server Response
     */
    public ServerResponse preProcess(HttpRequest request, ResourceMethod method)
        throws Failure, WebApplicationException {

        SecurityHole securityHole = AuthUtil.checkForSecurityHoleAnnotation(
            method.getMethod());

        Principal principal = establishPrincipal(request, method, securityHole);
        try {
            verifyAccess(method.getMethod(), principal, getArguments(request, method),
View Full Code Here

TOP

Related Classes of org.candlepin.auth.interceptor.SecurityHole

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.