security profile is now an interface
parent
e272ab6e3b
commit
9f25b8fa92
Binary file not shown.
@ -1,21 +1,15 @@
|
||||
package org.xbib.net;
|
||||
|
||||
public abstract class SecurityRealm {
|
||||
public interface SecurityRealm {
|
||||
|
||||
public SecurityRealm() {
|
||||
}
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* @return unique name of this realm, e.g. "ldap"
|
||||
*/
|
||||
public abstract String getName();
|
||||
void init();
|
||||
|
||||
/**
|
||||
* Invoked during server startup and can be used to initialize internal state.
|
||||
*/
|
||||
public void init() {
|
||||
}
|
||||
Authenticator getAuthenticator();
|
||||
|
||||
public abstract Authenticator getAuthenticator();
|
||||
UsersProvider getUsersProvider();
|
||||
|
||||
GroupsProvider getGroupsProvider();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue