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 ISystemPrincipal
public IPrincipal getPrincipalUME()
getPrincipalUME
in interface ISystemPrincipal
public boolean isAudited()
isAudited
in interface ISystemPrincipal
public boolean isLockBreaker()
isLockBreaker
in interface ISystemPrincipal
public boolean hasServiceAcls()
hasServiceAcls
in interface ISystemPrincipal
public Set getMappedPermissions()
getMappedPermissions
in interface ISystemPrincipal
public boolean canChangePermissions()
canChangePermissions
in interface ISystemPrincipal
public List getAclPermissions()
getAclPermissions
in interface ISystemPrincipal
public boolean isAclOwner()
isAclOwner
in interface ISystemPrincipal
public boolean isAppLogViewer()
isAppLogViewer
in interface ISystemPrincipal
public 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 2018 SAP AG Complete Copyright Notice