Examples of SecurityException


Examples of org.exolab.jms.net.connector.SecurityException

     */
    protected VMInvoker accept(Principal principal, URIRequestInfo info,
                               VMInvoker client, URI uri)
            throws ResourceException {
        if (!_authenticator.authenticate(principal)) {
            throw new SecurityException("Failed to authenticate: " + principal);
        }
        VMManagedConnection connection =
                new VMManagedConnection(principal, info, client, uri);
        VMInvoker invoker = new VMInvoker(connection);
        ManagedConnectionAcceptorListener listener;
View Full Code Here

Examples of org.jboss.errai.security.shared.exception.SecurityException

  // TODO Add logging.

  @Override
  public Throwable fromResponse(final Response response) {
    if (response.getStatusCode() == 403) {
      SecurityException securityException = null;
      try {
        securityException = fromJSON(response, SecurityException.class);
      }
      catch (RuntimeException e) {
      }
View Full Code Here

Examples of org.opensaml.xml.security.SecurityException

    /** {@inheritDoc} */
    protected Iterable<Credential> resolveFromSource(CriteriaSet criteriaSet) throws SecurityException {
        KeyInfoCriteria kiCriteria = criteriaSet.get(KeyInfoCriteria.class);
        if (kiCriteria == null) {
            log.error("No KeyInfo criteria supplied, resolver could not process");
            throw new SecurityException("Credential criteria set did not contain an instance of"
                    + "KeyInfoCredentialCriteria");
        }
        KeyInfo keyInfo = kiCriteria.getKeyInfo();

        // This will be the list of credentials to return.
View Full Code Here

Examples of org.wicketstuff.security.strategies.SecurityException

   */
  protected final Hive getHive()
  {
    Hive hive = HiveMind.getHive(hiveQueen);
    if (hive == null)
      throw new SecurityException("No hive registered for " + hiveQueen);
    return hive;
  }
View Full Code Here

Examples of railo.runtime.exp.SecurityException

   
    public void updateScriptProtect(String strScriptProtect) throws SecurityException {
      checkWriteAccess();
        boolean hasAccess=ConfigWebUtil.hasAccess(config,SecurityManager.TYPE_SETTING);
        if(!hasAccess)
            throw new SecurityException("no access to update script protect");
       
        Element scope=_getRootElement("application");
        scope.setAttribute("script-protect",strScriptProtect.trim());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.