gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.lib / src / main / java / org / gvsig / tools / identitymanagement / spi / AbstractSimpleIdentityManager.java @ 1211
History | View | Annotate | Download (757 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.tools.identitymanagement.spi; |
3 |
|
4 |
import java.util.Collection; |
5 |
import java.util.Collections; |
6 |
import java.util.Set; |
7 |
import java.util.TreeSet; |
8 |
import org.gvsig.tools.identitymanagement.SimpleIdentityManager; |
9 |
|
10 |
public abstract class AbstractSimpleIdentityManager implements SimpleIdentityManager { |
11 |
|
12 |
protected Set registeredActions = null; |
13 |
|
14 |
protected AbstractSimpleIdentityManager() {
|
15 |
this.registeredActions = new TreeSet(); |
16 |
} |
17 |
|
18 |
public boolean needDomain() { |
19 |
return false; |
20 |
} |
21 |
|
22 |
public void registerAction(String actionName) { |
23 |
this.registeredActions.add(actionName);
|
24 |
} |
25 |
|
26 |
public Collection getActions() { |
27 |
return Collections.unmodifiableCollection(this.registeredActions); |
28 |
} |
29 |
} |