TaskBean API
0.5

glogic.sample.sys
Class UserRights

java.lang.Object
  extended byglogic.sample.sys.UserRights

public class UserRights
extends java.lang.Object

Performs user rights check in web application.

Author:
Taha

Method Summary
static UserRights getInstance()
           
 java.util.List getRegionRights(java.lang.String username)
          List of Strings containing name of regions.
static void initInstance(RightsUserParser parser)
           
 boolean isUserValid(java.lang.String username, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initInstance

public static void initInstance(RightsUserParser parser)

getInstance

public static UserRights getInstance()

isUserValid

public boolean isUserValid(java.lang.String username,
                           java.lang.String password)

getRegionRights

public java.util.List getRegionRights(java.lang.String username)
List of Strings containing name of regions.


TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.