public class SystemPrincipal extends Object implements ISystemPrincipal
ISystemPrincipal . | Modifier and Type | Field and Description |
|---|---|
static int |
IGROUP |
static int |
IROLE |
static int |
IUMEPRINCIPAL |
static int |
IUSER |
| Constructor and Description |
|---|
SystemPrincipal(int type,
String principalId,
boolean isLockBreaker,
boolean hasServiceAcls,
Set mappedPermissions,
boolean canChangePermissions,
boolean canChangeSystemProperties)
Construct a SystemPrincipal
|
SystemPrincipal(int type,
String principalId,
boolean isLockBreaker,
boolean hasServiceAcls,
Set mappedPermissions,
boolean canChangePermissions,
boolean canChangeSystemProperties,
boolean isAudited)
Construct a SystemPrincipal
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangePermissions() |
boolean |
canChangeSystemProperties() |
List |
getAclPermissions()
Deprecated.
as of NW04.
|
Set |
getMappedPermissions() |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
getPrincipal()
Deprecated.
As of NetWeaver 7.1, replaced by
getPrincipalUME() |
IPrincipal |
getPrincipalUME() |
boolean |
hasServiceAcls() |
boolean |
isAclOwner()
Deprecated.
as of NW04.
|
boolean |
isAppLogViewer()
Deprecated.
as of NW04.
|
boolean |
isAudited() |
boolean |
isLockBreaker() |
public static final int IUSER
public static final int IGROUP
public static final int IROLE
public static final int IUMEPRINCIPAL
public SystemPrincipal(int type,
String principalId,
boolean isLockBreaker,
boolean hasServiceAcls,
Set mappedPermissions,
boolean canChangePermissions,
boolean canChangeSystemProperties)
throws WcmException
type - intprincipalId - StringisLockBreaker - booleanhasServiceAcls - booleanmappedPermissions - SetcanChangePermissions - booleancanChangeSystemProperties - booleanWcmException - Exception raised in failure situationUserManagementException - Exception raised in failure situationpublic SystemPrincipal(int type,
String principalId,
boolean isLockBreaker,
boolean hasServiceAcls,
Set mappedPermissions,
boolean canChangePermissions,
boolean canChangeSystemProperties,
boolean isAudited)
throws WcmException
type - intprincipalId - StringisLockBreaker - booleanhasServiceAcls - booleanmappedPermissions - SetcanChangePermissions - booleancanChangeSystemProperties - booleanisAudited - may only be false on users (setting this attribute
to false on groups or roles results in an IllegalArgumentException)WcmException - Exception raised in failure situationUserManagementException - Exception raised in failure situationpublic com.sapportals.portal.security.usermanagement.IUMPrincipal getPrincipal()
getPrincipalUME()getPrincipal in interface ISystemPrincipalpublic IPrincipal getPrincipalUME()
getPrincipalUME in interface ISystemPrincipalpublic boolean isAudited()
isAudited in interface ISystemPrincipalpublic boolean isLockBreaker()
isLockBreaker in interface ISystemPrincipalpublic boolean hasServiceAcls()
hasServiceAcls in interface ISystemPrincipalpublic Set getMappedPermissions()
getMappedPermissions in interface ISystemPrincipalpublic boolean canChangePermissions()
canChangePermissions in interface ISystemPrincipalpublic List getAclPermissions()
getAclPermissions in interface ISystemPrincipalpublic boolean isAclOwner()
isAclOwner in interface ISystemPrincipalpublic boolean isAppLogViewer()
isAppLogViewer in interface ISystemPrincipalpublic boolean canChangeSystemProperties()
canChangeSystemProperties in interface ISystemPrincipal| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice