Package org.jasig.cas.validation

Examples of org.jasig.cas.validation.ImmutableAssertionImpl


        authentication.getAttributes().put("testSamlAttribute", "value");
       
        final List<Authentication> authentications = new ArrayList<Authentication>();
        authentications.add(authentication);
       
        final Assertion assertion = new ImmutableAssertionImpl(authentications, TestUtils.getService(), true);
       
        model.put("assertion", assertion);
       
        final MockWriterHttpMockHttpServletResponse servletResponse = new MockWriterHttpMockHttpServletResponse();
       
View Full Code Here


       
        final MutableAuthentication authentication = new MutableAuthentication(principal);
        final List<Authentication> authentications = new ArrayList<Authentication>();
        authentications.add(authentication);
       
        final Assertion assertion = new ImmutableAssertionImpl(authentications, TestUtils.getService(), true);
       
        model.put("assertion", assertion);
       
        final MockWriterHttpMockHttpServletResponse servletResponse = new MockWriterHttpMockHttpServletResponse();
       
View Full Code Here

       
        final MutableAuthentication authentication = new MutableAuthentication(principal);
        final List<Authentication> authentications = new ArrayList<Authentication>();
        authentications.add(authentication);
       
        final Assertion assertion = new ImmutableAssertionImpl(authentications, TestUtils.getService(), true);
       
        model.put("assertion", assertion);
       
        try {
            this.response.renderMergedOutputModel(model, new MockHttpServletRequest(), new MockHttpServletResponse());
View Full Code Here

    protected void setUp() throws Exception {
        this.model = new HashMap<String,Object>();
        List<Authentication> list = new ArrayList<Authentication>();
        list.add(new ImmutableAuthentication(new SimplePrincipal("test")));
        this.model.put("assertion", new ImmutableAssertionImpl(list,
            TestUtils.getService("TestService"), true));
    }
View Full Code Here

TOP

Related Classes of org.jasig.cas.validation.ImmutableAssertionImpl

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.