com.sap.ip.portal.service.ume

Interface IUserManagementEngine

All Superinterfaces:
IService

public interface IUserManagementEngine
extends IService

The IUserManagementEngine service provides access to the base usermanagement interfaces. $File: //portal/epbc.ume.api/NW731EXT_16_COR/src/_usermanagement/java/com/sap/ip/portal/service/ume/IUserManagementEngine.java $ Last modified on $Date: 2014/12/04 $ by $Author: i072361 $ using $Change: 464369 $


Field Summary
static String KEY
           
 
Method Summary
 com.sap.security.api.acl.IAclManager getAclManager()
          Gets the default Access Control List Manager (ACL) manager.
 com.sap.security.api.IGroupFactory getGroupFactory()
          Returns an implementation of IGroupFactory.
 ICustomPrincipalFactory[] getRegisteredCustomPrincipalFactories()
          Deprecated. use getRegisteredCustomPrincipalFactory(Class) instead.
 ICustomPrincipalFactory getRegisteredCustomPrincipalFactory(Class classRef)
          Returns previously registered factory for a corresponding principal type
 com.sap.security.api.IRoleFactory getRoleFactory()
          Returns an implementation of IRoleFactory.
 com.sap.security.api.srvUser.IServiceUserFactory getServiceUserFactory()
          Returns implementation of IServiceUserFactory Note: only used internally
 String getUMVersion()
          Deprecated. use manifest.mf instead
 com.sap.security.api.IUserAccountFactory getUserAccountFactory()
          Returns an implementation of IUserAccountFactory.
 com.sap.security.api.IUserFactory getUserFactory()
          Returns an implementation of IUserFactory.
 boolean isInitialized()
          This method provides information about the state of IUserManagementEngine service.
 void registerCustomPrincipalFactory(Class classRef, ICustomPrincipalFactory factory)
          registerCustomPrincipalFactory allows to register objects of type ICustomPrincipalFactory with their corresponding Class reference Note: only used internally.
 void unregisterCustomPrincipalFactory(Class classRef)
          unregisterCustomPrincipalFactory allows to unregister objects of type ICustomPrincipalFactory with their corresponding Class reference Note: only used internally.
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Field Detail

KEY

static final String KEY
See Also:
Constant Field Values
Method Detail

getUMVersion

String getUMVersion()
Deprecated. use manifest.mf instead

Returns user management version

Returns:
user management version

getUserFactory

com.sap.security.api.IUserFactory getUserFactory()
Returns an implementation of IUserFactory. This method should be called to get the user factory for all user related operations.

Returns:
com.sap.security.api.IUserFactory object used for handling user operations

getGroupFactory

com.sap.security.api.IGroupFactory getGroupFactory()
Returns an implementation of IGroupFactory. This method should be called to get the group factory for all group related operations.

Returns:
com.sap.security.api.IGroupFactory object used for handling group operations

getRoleFactory

com.sap.security.api.IRoleFactory getRoleFactory()
Returns an implementation of IRoleFactory. This method should be called to get the role factory for all role related operations.

Returns:
com.sap.security.api.IRoleFactory object used for handling role operations

getAclManager

com.sap.security.api.acl.IAclManager getAclManager()
Gets the default Access Control List Manager (ACL) manager.

Returns:
com.sap.security.api.acl.IAclManager object used for handling Access Control Lists

getUserAccountFactory

com.sap.security.api.IUserAccountFactory getUserAccountFactory()
Returns an implementation of IUserAccountFactory. This method should be called to get the user account factory for all user account related operations.

Returns:
com.sap.security.api.IUserAccountFactory object used for handling user account operations

getRegisteredCustomPrincipalFactory

ICustomPrincipalFactory getRegisteredCustomPrincipalFactory(Class classRef)
Returns previously registered factory for a corresponding principal type

Parameters:
classRef - interface of requested principal type factory
Returns:
corresponding registered ICustomPrincipalFactory

Note: this method is only used internally


registerCustomPrincipalFactory

void registerCustomPrincipalFactory(Class classRef,
                                    ICustomPrincipalFactory factory)
registerCustomPrincipalFactory allows to register objects of type ICustomPrincipalFactory with their corresponding Class reference

Note: only used internally.

Parameters:
classRef - reference to the class object
factory - instance of factory

unregisterCustomPrincipalFactory

void unregisterCustomPrincipalFactory(Class classRef)
unregisterCustomPrincipalFactory allows to unregister objects of type ICustomPrincipalFactory with their corresponding Class reference

Note: only used internally.

Parameters:
classRef - reference to the class object

isInitialized

boolean isInitialized()
This method provides information about the state of IUserManagementEngine service.

Returns:
true if IUserManagementEngine is initialized successfully, false otherwise.

getRegisteredCustomPrincipalFactories

ICustomPrincipalFactory[] getRegisteredCustomPrincipalFactories()
Deprecated. use getRegisteredCustomPrincipalFactory(Class) instead.

Returns all previously registered factories

Returns:
corresponding registered ICustomPrincipalFactory

getServiceUserFactory

com.sap.security.api.srvUser.IServiceUserFactory getServiceUserFactory()
Returns implementation of IServiceUserFactory

Note: only used internally

Returns:
IServiceUserFactory object used to handle service users
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS [sap.com] tc/epbc/ume/ep5/deprecateddeprecated api EP-PIN
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2015 SAP AG Complete Copyright Notice