Skip navigation links


com.essbase.eas.essbase.server
Class UsrGrpPrimitives

java.lang.Object
  extended by com.essbase.eas.essbase.server.UsrGrpPrimitives


public final class UsrGrpPrimitives
extends java.lang.Object

This class provides the primitive operations for Users/Groups security. In the current implementation, no instances of this class should ever be instantiated.

Methods that need to be implemented

  1. many methods
Version:
1.00, 03/29/2001
Author:
Namita Varma
See Also:
EssSession, EssSessionMessage

Method Summary
static boolean containsGroup(EssSession session, java.lang.String groupName)
           
static boolean containsUser(EssSession session, java.lang.String userName)
           
static boolean copyGroup(EssSession session, java.lang.String groupname, java.lang.String newName, boolean replace)
           
static boolean copyUser(EssSession session, java.lang.String username, java.lang.String password, java.lang.String newName, boolean bInternal, java.lang.String parameter, java.lang.String protocol, boolean replace)
           
static boolean createGroup(EssSession session, Group group)
           
static boolean createUser(EssSession session, User user)
           
static boolean deleteGroup(EssSession session, java.lang.String groupname)
           
static boolean deleteUser(EssSession session, java.lang.String username)
           
static boolean enableUser(EssSession session, java.lang.String username)
           
static boolean findUserInGroup(EssSession session, java.lang.String username, java.lang.String groupName)
           
static java.util.ArrayList getAppAccessOnly(EssSession session, java.lang.String username, java.lang.String appname, java.util.ArrayList appAccessList)
           
static java.util.ArrayList<AppAccess> getAppAccessOnlyEx(EssSession session, java.lang.String username, java.lang.String appname, java.util.ArrayList appAccessList, boolean isUser)
           
static java.util.ArrayList getAppDbAccess(EssSession session, java.lang.String username, java.lang.String appname, boolean skipDbAccess)
           
static java.util.ArrayList getAppDbAccessEx(EssSession session, java.lang.String username, java.lang.String appname, boolean skipDbAccess, boolean isUser)
           
static java.util.ArrayList getDbAccess(EssSession session, java.lang.String username, java.lang.String appname, java.lang.String dbname)
           
static java.util.ArrayList<AppAccess.DbAccess> getDbAccessEx(EssSession session, java.lang.String username, java.lang.String appname, java.lang.String dbname, boolean isUser)
           
static java.util.List getDisabledUserList(EssSession session)
          Creates a list of disabled users for a specific server.
static GroupProperties getGroup(EssSession session, java.lang.String groupname, boolean skipAccess)
           
static GroupProperties getGroup(EssSession session, java.lang.String groupname, boolean skipAccess, boolean skipDbAccess)
           
static java.util.List getGroupList(EssSession session)
          Creates a list of groups that belong to a specific server.
static java.util.List getGroupList(EssSession session, boolean refresh)
          Creates a list of groups that belong to a specific server.
static java.util.List getGroupNames(EssSession session)
           
static java.util.List getSecurityGroupList(EssSession session, java.lang.String appName, java.lang.String dbName)
          Creates a list of users that belong to a specific server.
static UserProperties getUser(EssSession session, java.lang.String username, boolean skip)
           
static UserProperties getUser(EssSession session, java.lang.String username, boolean skip, boolean skipDbAccess)
           
static UserProperties getUser(EssSession session, java.lang.String username, boolean skipGroups, boolean skip, boolean skipDbAccess)
           
static UserProperties getUserAccess(EssSession session, java.lang.String username)
           
static java.util.List getUserList(EssSession session)
          Creates a list of users that belong to a specific server.
static java.util.List getUserList(EssSession session, java.lang.String appName, java.lang.String dbName, boolean skipAccessType)
          Creates a list of users that belong to a specific server.
static java.io.File getUserListFile(EssSession session)
           
static java.io.File getUserListFileEx(EssSession session, boolean skipAccessType)
           
static java.util.ArrayList getUsrGrpDbAccess(EssSession session, java.lang.String username, java.lang.String appname, java.lang.String dbname)
           
static java.util.ArrayList getUsrGrpDbAccessEx(EssSession session, java.lang.String username, java.lang.String appname, java.lang.String dbname, boolean isUser)
           
static boolean renameGroup(EssSession session, java.lang.String groupname, java.lang.String newName)
           
static boolean renameUser(EssSession session, java.lang.String username, java.lang.String newName)
           
static boolean setAppDbAccess(EssSession session, java.lang.Object user)
           
static boolean setAppDbAccess(EssSession session, java.lang.String username, java.lang.Object properties, boolean isUser)
           
static boolean setCalcForPlanningApp(EssSession session, java.lang.Object user)
           
static boolean setGroup(EssSession session, Group group)
           
static boolean setGroup(EssSession session, Group group, boolean setUsers)
           
static boolean setUser(EssSession session, User user)
           
static boolean setUser(EssSession session, User user, boolean chgPwd)
           
static boolean setUser(EssSession session, User user, boolean chgPwd, boolean setGroups)
           
static boolean setUser(EssSession session, User user, boolean chgPwd, boolean setGroups, boolean setUsers)
           
static boolean setUserGroup(EssSession session, UserProperties properties, java.lang.String username)
           
static boolean setUserGroup(EssSession session, UserProperties properties, java.lang.String username, EssCoreJni core, ContextHandle ctx)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createUser

public static boolean createUser(EssSession session,
                                 User user)

createGroup

public static boolean createGroup(EssSession session,
                                  Group group)

setAppDbAccess

public static boolean setAppDbAccess(EssSession session,
                                     java.lang.Object user)

getDbAccess

public static java.util.ArrayList getDbAccess(EssSession session,
                                              java.lang.String username,
                                              java.lang.String appname,
                                              java.lang.String dbname)

getDbAccessEx

public static java.util.ArrayList<AppAccess.DbAccess> getDbAccessEx(EssSession session,
                                                                    java.lang.String username,
                                                                    java.lang.String appname,
                                                                    java.lang.String dbname,
                                                                    boolean isUser)

setAppDbAccess

public static boolean setAppDbAccess(EssSession session,
                                     java.lang.String username,
                                     java.lang.Object properties,
                                     boolean isUser)

setUser

public static boolean setUser(EssSession session,
                              User user)

setUser

public static boolean setUser(EssSession session,
                              User user,
                              boolean chgPwd)

setUser

public static boolean setUser(EssSession session,
                              User user,
                              boolean chgPwd,
                              boolean setGroups)

setUser

public static boolean setUser(EssSession session,
                              User user,
                              boolean chgPwd,
                              boolean setGroups,
                              boolean setUsers)

setUserGroup

public static boolean setUserGroup(EssSession session,
                                   UserProperties properties,
                                   java.lang.String username)

setUserGroup

public static boolean setUserGroup(EssSession session,
                                   UserProperties properties,
                                   java.lang.String username,
                                   EssCoreJni core,
                                   ContextHandle ctx)

getUserList

public static java.util.List getUserList(EssSession session)
Creates a list of users that belong to a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection of userProperties objects.

getUserListFile

public static java.io.File getUserListFile(EssSession session)

getUserListFileEx

public static java.io.File getUserListFileEx(EssSession session,
                                             boolean skipAccessType)

getDisabledUserList

public static java.util.List getDisabledUserList(EssSession session)
Creates a list of disabled users for a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection containing strings with the user names.

containsUser

public static boolean containsUser(EssSession session,
                                   java.lang.String userName)

getGroupList

public static java.util.List getGroupList(EssSession session)
Creates a list of groups that belong to a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection containing strings with the group names.

getGroupList

public static java.util.List getGroupList(EssSession session,
                                          boolean refresh)
Creates a list of groups that belong to a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection containing strings with the group names.

getGroupNames

public static java.util.List getGroupNames(EssSession session)

containsGroup

public static boolean containsGroup(EssSession session,
                                    java.lang.String groupName)

setGroup

public static boolean setGroup(EssSession session,
                               Group group)

setGroup

public static boolean setGroup(EssSession session,
                               Group group,
                               boolean setUsers)

getGroup

public static GroupProperties getGroup(EssSession session,
                                       java.lang.String groupname,
                                       boolean skipAccess)

getGroup

public static GroupProperties getGroup(EssSession session,
                                       java.lang.String groupname,
                                       boolean skipAccess,
                                       boolean skipDbAccess)

getUser

public static UserProperties getUser(EssSession session,
                                     java.lang.String username,
                                     boolean skip)

getUser

public static UserProperties getUser(EssSession session,
                                     java.lang.String username,
                                     boolean skip,
                                     boolean skipDbAccess)

getUser

public static UserProperties getUser(EssSession session,
                                     java.lang.String username,
                                     boolean skipGroups,
                                     boolean skip,
                                     boolean skipDbAccess)

getAppDbAccess

public static java.util.ArrayList getAppDbAccess(EssSession session,
                                                 java.lang.String username,
                                                 java.lang.String appname,
                                                 boolean skipDbAccess)

getAppDbAccessEx

public static java.util.ArrayList getAppDbAccessEx(EssSession session,
                                                   java.lang.String username,
                                                   java.lang.String appname,
                                                   boolean skipDbAccess,
                                                   boolean isUser)

getAppAccessOnly

public static java.util.ArrayList getAppAccessOnly(EssSession session,
                                                   java.lang.String username,
                                                   java.lang.String appname,
                                                   java.util.ArrayList appAccessList)

getAppAccessOnlyEx

public static java.util.ArrayList<AppAccess> getAppAccessOnlyEx(EssSession session,
                                                                java.lang.String username,
                                                                java.lang.String appname,
                                                                java.util.ArrayList appAccessList,
                                                                boolean isUser)

findUserInGroup

public static boolean findUserInGroup(EssSession session,
                                      java.lang.String username,
                                      java.lang.String groupName)

renameUser

public static boolean renameUser(EssSession session,
                                 java.lang.String username,
                                 java.lang.String newName)

renameGroup

public static boolean renameGroup(EssSession session,
                                  java.lang.String groupname,
                                  java.lang.String newName)

copyUser

public static boolean copyUser(EssSession session,
                               java.lang.String username,
                               java.lang.String password,
                               java.lang.String newName,
                               boolean bInternal,
                               java.lang.String parameter,
                               java.lang.String protocol,
                               boolean replace)

copyGroup

public static boolean copyGroup(EssSession session,
                                java.lang.String groupname,
                                java.lang.String newName,
                                boolean replace)

deleteUser

public static boolean deleteUser(EssSession session,
                                 java.lang.String username)

deleteGroup

public static boolean deleteGroup(EssSession session,
                                  java.lang.String groupname)

enableUser

public static boolean enableUser(EssSession session,
                                 java.lang.String username)

getUserList

public static java.util.List getUserList(EssSession session,
                                         java.lang.String appName,
                                         java.lang.String dbName,
                                         boolean skipAccessType)
Creates a list of users that belong to a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection of userProperties objects.

getSecurityGroupList

public static java.util.List getSecurityGroupList(EssSession session,
                                                  java.lang.String appName,
                                                  java.lang.String dbName)
Creates a list of users that belong to a specific server.
Parameters:
session - object for this Essbase session.
Returns:
a list collection of userProperties objects.

getUsrGrpDbAccess

public static java.util.ArrayList getUsrGrpDbAccess(EssSession session,
                                                    java.lang.String username,
                                                    java.lang.String appname,
                                                    java.lang.String dbname)

getUsrGrpDbAccessEx

public static java.util.ArrayList getUsrGrpDbAccessEx(EssSession session,
                                                      java.lang.String username,
                                                      java.lang.String appname,
                                                      java.lang.String dbname,
                                                      boolean isUser)

getUserAccess

public static UserProperties getUserAccess(EssSession session,
                                           java.lang.String username)

setCalcForPlanningApp

public static boolean setCalcForPlanningApp(EssSession session,
                                            java.lang.Object user)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.