Revision 1211 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/identitymanagement/SimpleIdentityManager.java
SimpleIdentityManager.java | ||
---|---|---|
1 | 1 |
package org.gvsig.tools.identitymanagement; |
2 | 2 |
|
3 |
import java.util.Collection; |
|
3 | 4 |
import javax.naming.AuthenticationException; |
4 | 5 |
|
5 | 6 |
|
... | ... | |
49 | 50 |
* @param acction |
50 | 51 |
*/ |
51 | 52 |
public void sudo(String identityid, Runnable acction); |
53 |
|
|
54 |
/** |
|
55 |
* Register the actionName as an action that require authorization. |
|
56 |
* |
|
57 |
* @param actionName |
|
58 |
*/ |
|
59 |
public void registerAction(String actionName); |
|
60 |
|
|
61 |
/** |
|
62 |
* Return a list of the actions that are registered. |
|
63 |
* |
|
64 |
* @return list of action names that requiere authorization. |
|
65 |
*/ |
|
66 |
public Collection getActions(); |
|
52 | 67 |
} |
Also available in: Unified diff