SAP NetWeaver '04

com.sapportals.wcm.util.systemconfig
Class SystemPrincipal

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.util.systemconfig.SystemPrincipal
All Implemented Interfaces:
ISystemPrincipal

public class SystemPrincipal
extends java.lang.Object
implements ISystemPrincipal

The (default) implementation of an ISystemPrincipal .


Constructor Summary
SystemPrincipal(java.lang.String principalId, int principalType, boolean isLockBreaker, boolean hasServiceAcls, java.util.Set mappedPermissions, boolean canChangePermissions)
          Construct a SystemPrincipal
 
Method Summary
 boolean canChangePermissions()
           
 java.util.List getAclPermissions()
          Deprecated. as of NW04.
 java.util.Set getMappedPermissions()
           
 com.sapportals.portal.security.usermanagement.IUMPrincipal getPrincipal()
           
 boolean hasServiceAcls()
           
 boolean isAclOwner()
          Deprecated. as of NW04.
 boolean isAppLogViewer()
          Deprecated. as of NW04.
 boolean isLockBreaker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPrincipal

public SystemPrincipal(java.lang.String principalId,
                       int principalType,
                       boolean isLockBreaker,
                       boolean hasServiceAcls,
                       java.util.Set mappedPermissions,
                       boolean canChangePermissions)
                throws WcmException,
                       com.sapportals.portal.security.usermanagement.UserManagementException
Construct a SystemPrincipal
Parameters:
principalId - TBD: Description of the incoming method parameter
principalType - TBD: Description of the incoming method parameter
isLockBreaker - TBD: Description of the incoming method parameter
hasServiceAcls - TBD: Description of the incoming method parameter
mappedPermissions - TBD: Description of the incoming method parameter
canChangePermissions - TBD: Description of the incoming method parameter
Throws:
WcmException - Exception raised in failure situation
com.sapportals.portal.security.usermanagement.UserManagementException - Exception raised in failure situation
Method Detail

getPrincipal

public com.sapportals.portal.security.usermanagement.IUMPrincipal getPrincipal()
Specified by:
getPrincipal in interface ISystemPrincipal
Returns:
the principal from the usermanagement

isLockBreaker

public boolean isLockBreaker()
Specified by:
isLockBreaker in interface ISystemPrincipal
Returns:
true iff the principal is allowed to break foreign locks on resources

hasServiceAcls

public boolean hasServiceAcls()
Specified by:
hasServiceAcls in interface ISystemPrincipal
Returns:
true iff the principal is should have all service acls

getMappedPermissions

public java.util.Set getMappedPermissions()
Specified by:
getMappedPermissions in interface ISystemPrincipal
Returns:
a list of strings containing the names of CM framework permissions which are granted to the principal on each resource

canChangePermissions

public boolean canChangePermissions()
Specified by:
canChangePermissions in interface ISystemPrincipal
Returns:
true iff the principal is allowed to change permissions on each resource

getAclPermissions

public java.util.List getAclPermissions()
Deprecated. as of NW04.

Specified by:
getAclPermissions in interface ISystemPrincipal
Returns:
aclPermissions

isAclOwner

public boolean isAclOwner()
Deprecated. as of NW04.

Specified by:
isAclOwner in interface ISystemPrincipal
Returns:
aclOwner

isAppLogViewer

public boolean isAppLogViewer()
Deprecated. as of NW04.

Specified by:
isAppLogViewer in interface ISystemPrincipal
Returns:
appLogViewer

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.