Examples of checkAuthentication()


Examples of com.sun.messaging.jmq.admin.objstore.ObjStore.checkAuthentication()

         *Retrieve the original ObjStoreAttrs that the user input.
         *This DOES NOT read any jndi property files processed by jndi
         * since this is done PRIOR to creating the initialContext.
         */
        ObjStoreAttrs osa = os.getObjStoreAttrs();
        Vector missingAuthInfo = os.checkAuthentication(osa);
        int missingAuthInfoSize = missingAuthInfo.size();

        boolean carriageReturnNeeded = false;
        if (missingAuthInfo != null && missingAuthInfoSize > 0) {
      if (objStorePasswdDialog == null && missingAuthInfoSize > 0) {
View Full Code Here

Examples of it.eng.spagobi.services.security.service.ISecurityServiceSupplier.checkAuthentication()

 
  private void authenticate(String userId, String password) throws WSSecurityException {
    logger.debug("IN: userId = " + userId);
    try {
      ISecurityServiceSupplier supplier = SecurityServiceSupplierFactory.createISecurityServiceSupplier();
      SpagoBIUserProfile profile = supplier.checkAuthentication(userId, password);
      if (profile == null) {
        logger.error("Authentication failed for user " + userId);
        throw new WSSecurityException(WSSecurityException.FAILED_AUTHENTICATION);
      }
    } catch (WSSecurityException e) {
View Full Code Here

Examples of it.eng.spagobi.services.security.service.ISecurityServiceSupplier.checkAuthentication()

    // instead, if SSO is active, the authentication mechanism is provided by the SSO itself, so SpagoBI does not make
    // any authentication, just creates the user profile object and puts it into Spago permanent container
    if (!activeSoo) {
      String pwd=(String)request.getAttribute("password");      
      try {
        Object ris=supplier.checkAuthentication(userId, pwd);
        if (ris==null){
          logger.error("pwd uncorrect");
          EMFUserError emfu = new EMFUserError(EMFErrorSeverity.ERROR, 501);
          errorHandler.addError(emfu);          
          return;
View Full Code Here

Examples of it.eng.spagobi.services.security.service.ISecurityServiceSupplier.checkAuthentication()

        ISecurityServiceSupplier supplier = SecurityServiceSupplierFactory.createISecurityServiceSupplier();
               
        Assert.assertNotNull(usr, "User identifier not spicified");       
        Assert.assertNotNull(usr, "Password not spicified");
       
        if( supplier.checkAuthentication(usr, pwd) == null) {
          logger.warn("An attempt to authenticate with wrong credential has made [" + usr + "/" + pwd +"]");
          throw new SpagoBIServiceException(SERVICE_NAME, "An attempt to authenticate with wrong credential has made [" + usr + "/" + pwd +"]");
        }
       
      } else {
View Full Code Here

Examples of org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication()

            }

            sunRise = (SunRise) this.manager.lookup( SunRise.ROLE );

            // do authentication
            if (sunRise.checkAuthentication(redirector, !initialized) == false) {
                // All events are ignored
                // the sitemap.xsl ensures that only the redirect is processed
            } else {
                if (initialized == false) {
                    map = sunRise.createMap();
View Full Code Here

Examples of org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication()

            }

            sunRise = (SunRise) this.manager.lookup( SunRise.ROLE );

            // do authentication
            if (sunRise.checkAuthentication(redirector, !initialized) == false) {
                // All events are ignored
                // the sitemap.xsl ensures that only the redirect is processed
            } else {
                if (initialized == false) {
                    map = sunRise.createMap();
View Full Code Here

Examples of org.apache.cocoon.sunshine.sunspot.SunSpot.checkAuthentication()

        try {
            sunSpot = (SunSpot)this.manager.lookup( SunSpot.ROLE );
            sunSpot.configurationTest();
            if ( null != sunLetID) {
                sunSpot.checkAuthentication(redirector, sunLetID);
            }

        } finally {
            this.manager.release( sunSpot );
        }
View Full Code Here

Examples of org.apache.cocoon.webapps.authentication.AuthenticationManager.checkAuthentication()

            applicationName = par.getParameter("application", null);

            authManager = (AuthenticationManager) this.manager.lookup( AuthenticationManager.ROLE );

            // do authentication
            if ( !authManager.checkAuthentication(redirector, handlerName, applicationName) ) {
                // All events are ignored
                // the sitemap.xsl ensures that only the redirect is processed
            } else {
                RequestState state = authManager.getState();
                map = state.getHandler().getContext().getContextInfo();
View Full Code Here

Examples of org.apache.cocoon.webapps.authentication.AuthenticationManager.checkAuthentication()

            applicationName = par.getParameter("application", null);

            authManager = (AuthenticationManager) this.manager.lookup( AuthenticationManager.ROLE );

            // do authentication
            if ( !authManager.checkAuthentication(redirector, handlerName, applicationName) ) {
                // All events are ignored
                // the sitemap.xsl ensures that only the redirect is processed
            } else {
                RequestState state = RequestState.getState();
                map = state.getHandler().getContext().getContextInfo();
View Full Code Here

Examples of org.apache.cocoon.webapps.authentication.AuthenticationManager.checkAuthentication()

            applicationName = par.getParameter("application", null);

            authManager = (AuthenticationManager) this.manager.lookup( AuthenticationManager.ROLE );

            // do authentication
            if ( !authManager.checkAuthentication(redirector, handlerName, applicationName) ) {
                // All events are ignored
                // the sitemap.xsl ensures that only the redirect is processed
            } else {
                RequestState state = authManager.getState();
                map = state.getHandler().getContext().getContextInfo();
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.