Skip navigation links


com.essbase.eas.server
Class CSSLogic

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


public class CSSLogic
extends java.lang.Object

Provide facade for Hyperion Common Security Services CSS methods

Since:
6.5.3
Version:
6.5.3
Author:
Scott Rasmussen

Constructor Summary
CSSLogic()
           

 

Method Summary
static java.util.Map<java.lang.Object,java.lang.Object> authenticate(java.lang.String token)
          authenticate a token
static java.util.Map<java.lang.Object,java.lang.Object> authenticate(java.lang.String username, java.lang.String password)
          authenticate a username and password
static boolean createNativeGroup(AdminGroup grp, java.util.Collection<java.lang.Object> errors)
           
static boolean createNativeUser(AdminUser user, java.util.Collection<java.lang.Object> errors, java.lang.String loginUser)
           
static CSSAPIIF getCSSAPIIF()
           
static AdminGroup[] getGroups(CSSUserIF cssUser, java.lang.String search, java.util.Collection<java.lang.Object> errors)
          Return a list of groups matching a search
static java.lang.String getNativeProviderName()
           
static java.lang.String[] getProviderNames()
          Return CSS provider names
static AdminUser[] getUsers(CSSUserIF cssUser, FindRequest request, java.util.Collection<XMLTransferMessage> errors)
          Search CSS for user or users that match a criteria
static java.lang.String getVersion()
          Get version of CSS
static boolean initialize(java.util.Locale localeSetting)
          initialize the CSS system and api
static boolean isCASEnabled()
           
static boolean isCSSConfigured()
          Return whether css has been initialized and is configured
static boolean isValidToken(java.lang.String token)
           
static java.lang.String restoreToken(java.lang.String token)
          Get a magic token to use for calls where a user is not logged in
static void setPassword(java.lang.String userName, java.lang.String password, java.lang.String newPassword)
           

 

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

 

Constructor Detail

CSSLogic

public CSSLogic()

Method Detail

initialize

public static boolean initialize(java.util.Locale localeSetting)
initialize the CSS system and api
Parameters:
locale - - must initialize CSS in a specific locale

getVersion

public static java.lang.String getVersion()
Get version of CSS
Returns:
the manifest files version information for CSS

isCSSConfigured

public static boolean isCSSConfigured()
Return whether css has been initialized and is configured
Returns:
true if configured

authenticate

public static java.util.Map<java.lang.Object,java.lang.Object> authenticate(java.lang.String username,
                                                                            java.lang.String password)
                                                                     throws CSSException
authenticate a username and password
Throws:
java.lang.Exception - if an exception was thrown during authentication with CSS
CSSException

authenticate

public static java.util.Map<java.lang.Object,java.lang.Object> authenticate(java.lang.String token)
                                                                     throws java.lang.Exception
authenticate a token
Throws:
java.lang.Exception

getProviderNames

public static java.lang.String[] getProviderNames()
Return CSS provider names

setPassword

public static void setPassword(java.lang.String userName,
                               java.lang.String password,
                               java.lang.String newPassword)
                        throws CSSCommunicationException,
                               CSSNoProviderException,
                               CSSException
Throws:
CSSCommunicationException
CSSNoProviderException
CSSException

getUsers

public static AdminUser[] getUsers(CSSUserIF cssUser,
                                   FindRequest request,
                                   java.util.Collection<XMLTransferMessage> errors)
Search CSS for user or users that match a criteria
Parameters:
request -
errors -
Returns:
the users found from the search

getGroups

public static AdminGroup[] getGroups(CSSUserIF cssUser,
                                     java.lang.String search,
                                     java.util.Collection<java.lang.Object> errors)
Return a list of groups matching a search
Parameters:
search -
errors -
Returns:

isValidToken

public static boolean isValidToken(java.lang.String token)
Parameters:
token -
Returns:
whether token is valid or not

restoreToken

public static java.lang.String restoreToken(java.lang.String token)
                                     throws CSSException
Get a magic token to use for calls where a user is not logged in
Returns:
Throws:
CSSException

isCASEnabled

public static boolean isCASEnabled()

getCSSAPIIF

public static CSSAPIIF getCSSAPIIF()

getNativeProviderName

public static java.lang.String getNativeProviderName()

createNativeUser

public static boolean createNativeUser(AdminUser user,
                                       java.util.Collection<java.lang.Object> errors,
                                       java.lang.String loginUser)

createNativeGroup

public static boolean createNativeGroup(AdminGroup grp,
                                        java.util.Collection<java.lang.Object> errors)

Skip navigation links


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