Subversion Repositories SmartDukaan

Rev

Rev 23647 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23647 Rev 23648
Line 41... Line 41...
41
                                           .getLog(CRMAuthorizingRealm.class);
41
                                           .getLog(CRMAuthorizingRealm.class);
42
    private static Map<Long, Agent>   agentsMapById;
42
    private static Map<Long, Agent>   agentsMapById;
43
    private static Map<String, Agent> agentsMapByEmailId;
43
    private static Map<String, Agent> agentsMapByEmailId;
44
    private static Map<Long, Agent>   inactiveAgentsMapById;
44
    private static Map<Long, Agent>   inactiveAgentsMapById;
45
    private static Map<String, Agent> inactiveAgentsMapByEmailId;
45
    private static Map<String, Agent> inactiveAgentsMapByEmailId;
46
    private static Map<String, List<String>> userRoleNames;
46
    private static Map<String, List<String>> userRoleNames = new HashMap<String, List<String>>();
47
    private static Map<String, Set<String>> userPermissions;
47
    private static Map<String, Set<String>> userPermissions = new HashMap<String, Set<String>>();
48
    
48
    
49
    @Override
49
    @Override
50
    protected AuthorizationInfo doGetAuthorizationInfo(
50
    protected AuthorizationInfo doGetAuthorizationInfo(
51
            PrincipalCollection principals) {
51
            PrincipalCollection principals) {
52
        // null usernames are invalid
52
        // null usernames are invalid