Package hudson.security.AuthorizationStrategy

Examples of hudson.security.AuthorizationStrategy.Unsecured


* @author Kohsuke Kawaguchi
*/
public class MarkupFormatterTest extends HudsonTestCase {
    public void testConfigRoundtrip() throws Exception {
        hudson.setSecurityRealm(new HudsonPrivateSecurityRealm(false));
        hudson.setAuthorizationStrategy(new Unsecured());
        hudson.setMarkupFormatter(new DummyMarkupImpl("hello"));
        configRoundtrip();

        assertEquals("hello", ((DummyMarkupImpl)hudson.getMarkupFormatter()).prefix);
    }
View Full Code Here

TOP

Related Classes of hudson.security.AuthorizationStrategy.Unsecured

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.