Revision 1215 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/identitymanagement/SimpleIdentityManager.java

View differences:

SimpleIdentityManager.java
21 21
     * @param identityid, identity id to login in the system
22 22
     * @param password
23 23
     */
24
    public void login(String domain, String identityid, String password) throws AuthenticationException;
24
    public void login(String domain, String identityid, String password) throws UnauthorizedException;
25 25

  
26 26
    /**
27 27
     * Closes the session stablised with the current identity.
......
46 46
    /**
47 47
     * Run the specified action as the specified identity.
48 48
     * 
49
     * @param domain
49 50
     * @param identityid
50 51
     * @param acction 
51 52
     */
52
    public void sudo(String identityid, Runnable acction);
53
    public void sudo(String domain, String identityid, Runnable acction);
53 54
 
54 55
    /**
55 56
     * Register the actionName as an action that require authorization.

Also available in: Unified diff