Skip navigation links


com.essbase.eas.essbase.server
Class SecurityPrimitives

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


public class SecurityPrimitives
extends java.lang.Object

Constructor Summary
SecurityPrimitives()
           

 

Method Summary
static java.util.ArrayList getApplicationAccess(EssSession session, java.lang.String appName)
           
static java.util.ArrayList getDatabaseAccess(EssSession session, java.lang.String appName, java.lang.String dbName)
           
static boolean migrateAppUser(EssSession destSession, EssSession srcSession, java.lang.String username, boolean replace)
           
static boolean migrateUser(EssSession destSession, EssSession srcSession, java.lang.String username, boolean replace)
           
static boolean migrateUser(EssSession destSession, java.lang.String newUserName, EssSession srcSession, java.lang.String username, boolean replace)
          This should be used only when source and target usernames are different.
static boolean setApplicationAccess(EssSession session, java.util.ArrayList appAccessList)
           
static boolean setDatabaseAccess(EssSession session, java.util.ArrayList dbAccessList)
           
static boolean setPassword(EssSession session, 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

 

Constructor Detail

SecurityPrimitives

public SecurityPrimitives()

Method Detail

setPassword

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

getApplicationAccess

public static java.util.ArrayList getApplicationAccess(EssSession session,
                                                       java.lang.String appName)

setApplicationAccess

public static boolean setApplicationAccess(EssSession session,
                                           java.util.ArrayList appAccessList)

getDatabaseAccess

public static java.util.ArrayList getDatabaseAccess(EssSession session,
                                                    java.lang.String appName,
                                                    java.lang.String dbName)

setDatabaseAccess

public static boolean setDatabaseAccess(EssSession session,
                                        java.util.ArrayList dbAccessList)

migrateUser

public static boolean migrateUser(EssSession destSession,
                                  java.lang.String newUserName,
                                  EssSession srcSession,
                                  java.lang.String username,
                                  boolean replace)
This should be used only when source and target usernames are different.
Parameters:
destSession - Target Server
newUserName - different user name (from the src server)
srcSession - Source Server
username - user name of source server
replace - replace the targer server user name.
Returns:
true if successful otherwise false.

migrateUser

public static boolean migrateUser(EssSession destSession,
                                  EssSession srcSession,
                                  java.lang.String username,
                                  boolean replace)

migrateAppUser

public static boolean migrateAppUser(EssSession destSession,
                                     EssSession srcSession,
                                     java.lang.String username,
                                     boolean replace)

Skip navigation links


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