Package br.gov.frameworkdemoiselle.security

Examples of br.gov.frameworkdemoiselle.security.AuthenticationException


  public Principal getUser() {
    throw getException();
  }

  private DemoiselleException getException() {
    return new AuthenticationException(getBundle().getString("authenticator-not-defined",
        SecurityContext.class.getSimpleName()), new ClassNotFoundException());
  }
View Full Code Here


  public Principal getUser() {
    throw getException();
  }

  private DemoiselleException getException() {
    return new AuthenticationException(getBundle().getString("authenticator-not-defined",
        SecurityContext.class.getSimpleName()), new ClassNotFoundException());
  }
View Full Code Here

      } catch (DemoiselleException cause) {
        throw cause;

      } catch (Exception cause) {
        throw new AuthenticationException(cause);
      }

      Beans.getBeanManager().fireEvent(new AfterLoginSuccessful() {

        private static final long serialVersionUID = 1L;
View Full Code Here

      } catch (DemoiselleException cause) {
        throw cause;

      } catch (Exception cause) {
        throw new AuthenticationException(cause);
      }

      Beans.getBeanManager().fireEvent(new AfterLogoutSuccessful() {

        private static final long serialVersionUID = 1L;
View Full Code Here

  public User getUser() {
    throw getException();
  }

  private DemoiselleException getException() {
    return new AuthenticationException(getBundle().getString("authenticator-not-defined",
        SecurityContext.class.getSimpleName()), new ClassNotFoundException());
  }
View Full Code Here

        @Override
        public void setAttribute(Object key, Object value) {
        }
      };
    } else {
      throw new AuthenticationException("As credenciais fornecidas não são válidas");
    }
  }
View Full Code Here

TOP

Related Classes of br.gov.frameworkdemoiselle.security.AuthenticationException

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.