blob: c62d1ed2b0bb1cc5372ceadde9b49950a940ebae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package org.dogtagpki.server.tps.profile;
import org.dogtagpki.tps.main.TPSException;
import com.netscape.certsrv.apps.CMS;
import com.netscape.certsrv.base.IConfigStore;
/**
* This class implements the base TPS Profile Resolver instance
*
* @author cfu
*/
public abstract class BaseTokenProfileResolver {
protected IConfigStore configStore = null;
protected String instanceName = "";
protected String prefix = "";
public BaseTokenProfileResolver() {
}
public void init(String instName) {
instanceName = instName;
prefix = TokenProfileResolverManager.TOKEN_PROFILE_RESOLVER_CFG +
"." + instanceName;
configStore = CMS.getConfigStore();
}
public String getName() {
return instanceName;
}
public String getPrefix() {
return prefix;
}
public abstract String getTokenType(TokenProfileParams pPram)
throws TPSException;
}
|