Removed MockPrincipal inner class as MockPrincipal is now a full class.
This commit is contained in:
parent
c220ff583c
commit
922461d19a
|
@ -19,6 +19,7 @@ import junit.framework.TestCase;
|
||||||
|
|
||||||
import net.sf.acegisecurity.GrantedAuthority;
|
import net.sf.acegisecurity.GrantedAuthority;
|
||||||
import net.sf.acegisecurity.GrantedAuthorityImpl;
|
import net.sf.acegisecurity.GrantedAuthorityImpl;
|
||||||
|
import net.sf.acegisecurity.adapters.MockPrincipal;
|
||||||
import net.sf.acegisecurity.adapters.PrincipalAcegiUserToken;
|
import net.sf.acegisecurity.adapters.PrincipalAcegiUserToken;
|
||||||
|
|
||||||
import org.apache.catalina.LifecycleException;
|
import org.apache.catalina.LifecycleException;
|
||||||
|
@ -280,13 +281,4 @@ public class CatalinaAcegiUserRealmTests extends TestCase {
|
||||||
|
|
||||||
return adapter;
|
return adapter;
|
||||||
}
|
}
|
||||||
|
|
||||||
//~ Inner Classes ==========================================================
|
|
||||||
|
|
||||||
private class MockPrincipal implements Principal {
|
|
||||||
public String getName() {
|
|
||||||
throw new UnsupportedOperationException(
|
|
||||||
"mock method not implemented");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue