Package no.kommune.bergen.soa.svarut

Examples of no.kommune.bergen.soa.svarut.AltinnFacade


  @Before
  public void setup() {
    VelocityModelFactory velocityModelFactory = VelocityModelFactoryTest.createVelocityModelFactory();
    myCorrespondenceClient = new MockCorrespondenceClient( MockCorrespondenceClient.newSettings() );
    altinnFacade = new AltinnFacade( getTemplateEngine(), myCorrespondenceClient, velocityModelFactory );
  }
View Full Code Here


  public static ForsendelsesArkiv createForsendesesArkiv() {
    JdbcHelper jdbcHelper = new JdbcHelper();
    jdbcHelper.createTable( "FORSENDELSESARKIV" );
    FileStore fileStore = new FileStore("target", new PdfGeneratorImpl("target"));
    CorrespondenceClient correspondenceClient = new CorrespondenceClient(new CorrespondenceSettings());
    AltinnFacade altinnFacade = new AltinnFacade(null, correspondenceClient, null, null);

    return new ForsendelsesArkiv( fileStore, jdbcHelper.getJdbcTemplate(), altinnFacade );
  }
View Full Code Here

    altinnAuthorization = new AltinnAuthorization(settings);
    MockAuthorizationDecisionPointExternal client = new MockAuthorizationDecisionPointExternal(settings);
    client.setXACMLFile("AltinnAuthorizationDecisionPointExternalPermit.soap.response");
    altinnAuthorization.setAltinnAuthorizationDesicionPointExternalClient(client);
    CorrespondenceClient correspondenceClient = new CorrespondenceClient(MockCorrespondenceClient.newSettings());
    altinnFacade = new AltinnFacade(null, correspondenceClient, altinnAuthorization, null);
    forsendelsesArkiv = createForsendesesArkiv();
  }
View Full Code Here

    altinnAuthorization = new AltinnAuthorization(settings);
    MockAuthorizationDecisionPointExternal client = new MockAuthorizationDecisionPointExternal(settings);
    client.setXACMLFile("AltinnAuthorizationDecisionPointExternalDeny.soap.response");
    altinnAuthorization.setAltinnAuthorizationDesicionPointExternalClient(client);
    CorrespondenceClient correspondenceClient = new CorrespondenceClient(MockCorrespondenceClient.newSettings());
    altinnFacade = new AltinnFacade(null, correspondenceClient, altinnAuthorization, null);
    forsendelsesArkiv = createForsendesesArkiv();
  }
View Full Code Here

    settings.setEndpoint("http://brukes_ikke");
    altinnAuthorization = new AltinnAuthorization(settings);
    MockAuthorizationDecisionPointExternal client = new MockAuthorizationDecisionPointExternal(settings);
    altinnAuthorization.setAltinnAuthorizationDesicionPointExternalClient(client);
    CorrespondenceClient correspondenceClient = new CorrespondenceClient(MockCorrespondenceClient.newSettings());
    altinnFacade = new AltinnFacade(null, correspondenceClient, altinnAuthorization, null);
    forsendelsesArkiv = createForsendesesArkiv();
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.svarut.AltinnFacade

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.