blob: 40defc471dbf54cb6e5b54227030f942c3fc9920 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package com.c2kernel.process.auth;
import com.c2kernel.common.InvalidDataException;
import com.c2kernel.common.ObjectNotFoundException;
public interface Authenticator {
public boolean authenticate(String agentName, String password, String resource) throws InvalidDataException, ObjectNotFoundException;
public boolean authenticate(String resource) throws InvalidDataException, ObjectNotFoundException;
public Object getAuthObject();
public void disconnect();
}
|