Package hudson.security.SecurityRealm

Examples of hudson.security.SecurityRealm.SecurityComponents


*/
public class PAMSecurityRealmTest extends HudsonTestCase {
    public void testLoadUsers() {
        if (Functions.isWindows())  return; // skip on Windows

        SecurityComponents sc = new PAMSecurityRealm("sshd").getSecurityComponents();

        try {
            sc.userDetails.loadUserByUsername("bogus-bogus-bogus");
            fail("no such user");
        } catch (UsernameNotFoundException e) {
View Full Code Here

TOP

Related Classes of hudson.security.SecurityRealm.SecurityComponents

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.