Package org.acegisecurity

Examples of org.acegisecurity.AcegiSecurityException


            Throwable t = e.getRootCause();
            if (t instanceof JellyTagException) {
                JellyTagException jte = (JellyTagException) t;
                Throwable cause = jte.getCause();
                if (cause instanceof AcegiSecurityException) {
                    AcegiSecurityException se = (AcegiSecurityException) cause;
                    throw new ServletException(se);
                }
            }
            throw e;
        }
View Full Code Here


                filter.reset(securityRealm);
                LOGGER.fine("Security is now fully set up");
            }
        } catch (ServletException e) {
            // for binary compatibility, this method cannot throw a checked exception
            throw new AcegiSecurityException("Failed to configure filter",e) {};
        }
    }
View Full Code Here

  //-- Filter --//
  public void doFilter(ServletRequest request, ServletResponse response,
  FilterChain chain) throws IOException, ServletException {
    chain.doFilter(request, response);

    final AcegiSecurityException exception  = (AcegiSecurityException) request.getAttribute(EXCEPTION);

    if ( exception != null) {
      request.removeAttribute(EXCEPTION);
      throw exception;
    }
View Full Code Here

                publishSuccessEvent(result);

                //we're done, return the token.
                return result;
            } catch (LoginException loginException) {
                AcegiSecurityException ase = loginExceptionResolver.resolveException(loginException);

                publishFailureEvent(request, ase);
                throw ase;
            }
        }
View Full Code Here

                publishSuccessEvent(result);

                //we're done, return the token.
                return result;
            } catch (LoginException loginException) {
                AcegiSecurityException ase = loginExceptionResolver
                        .resolveException(loginException);

                publishFailureEvent(request, ase);
                throw ase;
            }
View Full Code Here

                filter.reset(securityRealm);
                LOGGER.fine("Security is now fully set up");
            }
        } catch (ServletException e) {
            // for binary compatibility, this method cannot throw a checked exception
            throw new AcegiSecurityException("Failed to configure filter", e) {
            };
        }
    }
View Full Code Here

TOP

Related Classes of org.acegisecurity.AcegiSecurityException

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.