com.sapportals.wcm.util.systemconfig

Class SystemPrincipal

java.lang.Object
  extended bycom.sapportals.wcm.util.systemconfig.SystemPrincipal
All Implemented Interfaces:
ISystemPrincipal

public class SystemPrincipal
extends Object
implements ISystemPrincipal

The (default) implementation of an ISystemPrincipal .


Constructor Summary
SystemPrincipal(String principalId, int principalType, boolean isLockBreaker, boolean hasServiceAcls, Set mappedPermissions, boolean canChangePermissions, boolean canChangeSystemProperties)
          Construct a SystemPrincipal
 
Method Summary
 boolean canChangePermissions()
           
 boolean canChangeSystemProperties()
           
 List getAclPermissions()
          Deprecated. as of NW04.
 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(String principalId,
                       int principalType,
                       boolean isLockBreaker,
                       boolean hasServiceAcls,
                       Set mappedPermissions,
                       boolean canChangePermissions,
                       boolean canChangeSystemProperties)
                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 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 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

canChangeSystemProperties

public boolean canChangeSystemProperties()
Specified by:
canChangeSystemProperties in interface ISystemPrincipal
Returns:
whether the principal is allowed to change certain system properties of resources which are otherwise readonly. These properties are: modified by, created by, modification date and creation date.


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.