This section provides details about the methods available with the Role Web service. This API presumes you’re using Java code generated by the WSSDK toolkit. The API will be different if you’re using another Web Service toolkit.
This section provides reference information for each method associated with the IRemoteRole interface.
Finds all SoD objects based on the search criteria in the given SOD object.
Syntax: Here is the method signature:
SodArray findSodByExample(Sod sod) throws NrfServiceException, java.rmi.RemoteException
Finds all SoD objects based on the search criteria found in the given SOD object. This method also lets you specify whether to use And as the operator for multi-value searches.
Syntax: Here is the method signature:
SodArray findSodByExampleWithOperator(Sod searchCriteria, boolean useAndForMultiValueSearch) throws NrfServiceException, java.rmi.RemoteException
Find by key.
Syntax: Here is the method signature:
Sod findSodById(java.lang.String entityKey) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignments for a specified identity.
Syntax: Here is the method signature:
RoleAssignmentArray getAssignedIdentities(java.lang.String identityDn, IdentityType type, boolean direct) throws NrfServiceException, java.rmi.RemoteException
Returns the role system configuration defined in the Role Catalog root (nrfConfiguration).
Syntax: Here is the method signature:
Configuration getConfiguration() throws NrfServiceException, java.rmi.RemoteException
Gets container and role information for a given container DN.
Syntax: Here is the method signature:
Container getContainer(java.lang.String containerDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD violations found for a specific identity and type.
Syntax: Here is the method signature:
SodArray getExceptionsList(java.lang.String identity, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Gets group and role information for a given group DN.
Syntax: Here is the method signature:
Group getGroup(java.lang.String groupDn) throws NrfServiceException, java.rmi.RemoteException
Returns a map of identities which are in violation of a given SoD.
Syntax: Here is the method signature:
IdentityTypeDnMapArray getIdentitiesInViolation(java.lang.String sodDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts found for a given list of roles for a given identity.
Syntax: Here is the method signature:
SodArray getIdentityRoleConflicts(java.lang.String identity, IdentityType identityType, DNStringArray requestedRoles) throws NrfServiceException, java.rmi.RemoteException
Retrieves a role object defined by a role DN.
Syntax: Here is the method signature:
Role getRole(java.lang.String roleDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given a correlation ID.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatus(java.lang.String correlationId) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given an identity and an identity type.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatusByIdentityType(java.lang.String identityDn, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Retrieves details about a RoleAssignmentType.
Syntax: Here is the method signature:
RoleAssignmentTypeInfo getRoleAssignmentTypeInfo(RoleAssignmentType type) throws NrfServiceException, java.rmi.RemoteException
Gets role categories.
Syntax: Here is the method signature:
CategoryArray getRoleCategories() throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances found for all given roles. This method always returns a list.
Syntax: Here is the method signature:
SodArray getRoleConflicts(DNStringArray roles) throws NrfServiceException, java.rmi.RemoteException
Gets the role levels.
Syntax: Here is the method signature:
RoleLevelArray getRoleLevels() throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role DNs.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfo(DNStringArray roleDns) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role category keys.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByCategory(CategoryKeyArray roleCategoryKeys) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role levels.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByLevel(LongArray roleLevels) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts defined between the target role DN and the source role DN.
Syntax: Here is the method signature:
SodArray getTargetSourceConflicts(java.lang.String targetName, java.lang.String sourceName) throws NrfServiceException, java.rmi.RemoteException
Gets user info including all role assignments for a given user DN stored in a UserIdentity object.
Syntax: Here is the method signature:
User getUser(java.lang.String userDn) throws NrfServiceException, java.rmi.RemoteException
Returns the version of this Web Service.
Syntax: Here is the method signature:
VersionVO getVersion() throws java.rmi.RemoteException
Returns boolean flag; true if role has been assigned to a User identity.
Syntax: Here is the method signature:
boolean isUserInRole(java.lang.String userDn, java.lang.String roleDn)
Returns a list of request DNs created by the role assignment.
Syntax: Here is the method signature:
DNStringArray requestRolesAssignment(RoleAssignmentRequest roleAssignmentRequest) throws NrfServiceException, java.rmi.RemoteException
Class to hold the approver information for SOD or normal request approvals.
The Approver class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Approver()
Gets the approver DN.
Syntax: Here is the method signature:
public java.lang.String getApproverDN()
Gets the approver sequence.
Syntax: Here is the method signature:
public long getSequence()
Sets the approver DN.
Syntax: Here is the method signature:
public void setApproverDN(java.lang.String approverDN)
Sets the approver sequence.
Syntax: Here is the method signature:
public void setSequence(long sequence)
This section provides reference information on the ApproverArray class.
The ApproverArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
ApproverArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
ApproverArray(Approver[] ApproverVal)
Returns an array of Approver objects.
Syntax: Here is the method signature:
Approver[] getApprover()
Sets the array of Approver objects associated with the ApproverArray class.
Syntax: Here is the method signature:
void setApprover (Approver[] ApproverVal)
Class to represent a role category.
The Category class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Category()
Gets the category key.
Syntax: Here is the method signature:
public java.lang.String getCategoryKey()
Gets the category label.
Syntax: Here is the method signature:
public java.lang.String getCategoryLabel()
Sets the category key.
Syntax: Here is the method signature:
public void setCategoryKey(java.lang.String categoryKey)
Sets the category label.
Syntax: Here is the method signature:
public void setCategoryLabel(java.lang.String categoryLabel)
This section provides reference information on the CategoryArray class.
The CategoryArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
CategoryArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Category objects as a parameter:
CategoryArray(Category[] CategoryVal)
Returns an array of Category objects.
Syntax: Here is the method signature:
Category[] getCategory()
Sets the array of Category objects associated with the CategoryArray class.
Syntax: Here is the method signature:
void setCategory(Category[] CategoryVal)
Class to hold a Category Key.
The CategoryKey class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
CategoryKey()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
CategoryKey(java.lang.String categoryKey)
Gets the categoryKey.
Syntax: Here is the method signature:
public java.lang.String getCategoryKey()
Sets the category key.
Syntax: Here is the method signature:
public void setCategoryKey(java.lang.String categoryKey)
This section provides reference information on the CategoryKeyArray class.
The CategoryKeyArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
CategoryKeyArray()
Syntax 2: Here is the syntax for a constructor that takes an array of CategoryKey objects as a parameter:
CategoryKeyArray(CategoryKey[] CategoryVal)
Returns an array of Category objects.
Syntax: Here is the method signature:
CategoryKey[] getCategorykey()
Sets the array of CategoryKey objects associated with the CategoryKeyArray class.
Syntax: Here is the method signature:
void setCategorykey(CategoryKey[] CategoryKeyVal)
Class to represent the configuration object.
The Configuration class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Configuration()
Gets the default request definition.
Syntax: Here is the method signature:
public java.lang.String getDefaultRequestDef()
Gets the default SOD request definition.
Syntax: Here is the method signature:
public java.lang.String getDefaultSODRequestDef()
Gets the removal grace period.
Syntax: Here is the method signature:
public int getRemovalGracePeriod()
Gets the report container.
Syntax: Here is the method signature:
public java.lang.String getReportContainer()
Gets the role levels.
Syntax: Here is the method signature:
public RoleLevelArray getRoleLevels()
Gets the role request container.
Syntax: Here is the method signature:
public java.lang.String getRoleRequestContainer()
Gets the role container.
Syntax: Here is the method signature:
public java.lang.String getRolesContainer()
Gets SOD approvers.
Syntax: Here is the method signature:
public ApproverArray getSODApprovers()
Gets the SOD container.
Syntax: Here is the method signature:
public java.lang.String getSODContainer()
Gets the SOD quorum amount.
Syntax: Here is the method signature:
public java.lang.String getSODContainer()
Gets the SOD request definition.
Syntax: Here is the method signature:
public java.lang.String getSODRequestDef()
Sets the default request definition.
Syntax: Here is the method signature:
public void setDefaultRequestDef(java.lang.String defaultRequestDef)
Sets the default SOD request definition.
Syntax: Here is the method signature:
public void setDefaultSODRequestDef(java.lang.String defaultSODRequestDef)
Sets the removal grace period.
Syntax: Here is the method signature:
public void setRemovalGracePeriod(int removalGracePeriod)
Sets the report container.
Syntax: Here is the method signature:
public void setReportContainer(java.lang.String reportContainer)
Sets the role levels.
Syntax: Here is the method signature:
public void setRoleLevels(RoleLevelArray roleLevels)
Sets the role request container.
Syntax: Here is the method signature:
public void setRoleRequestContainer(java.lang.String roleRequestContainer)
Sets the role container.
Syntax: Here is the method signature:
public void setRolesContainer(java.lang.String rolesContainer)
Sets the SoD approvers.
Syntax: Here is the method signature:
public void setSODApprovers(ApproverArray sODApprovers)
Sets the SoD container.
Syntax: Here is the method signature:
public void setSODContainer(java.lang.String sODContainer)
Class to represent a Container object.
The Container class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Container()
Gets associated roles for this identity.
Syntax: Here is the method signature:
public DNStringArray getAssociatedRoles()
Gets identity entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets identity type.
Syntax: Here is the method signature:
public IdentityType getIdentityType()
Gets role assignments for this identity.
Syntax: Here is the method signature:
public RoleAssignmentArray getRoleAssignments()
Sets the associated roles for this identity.
Syntax: Here is the method signature:
public void setAssociatedRoles(DNStringArray associatedRoles)
Sets the identity entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the identity type.
Syntax: Here is the method signature:
public void setIdentityType(IdentityType identityType)
Sets the role assignments for this identity.
Syntax: Here is the method signature:
public void setRoleAssignments(RoleAssignmentArray roleAssignments)
Class to hold a DN.
The DNString class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
DNString()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
DNString(java.lang.String dn)
Gets the DN.
Syntax: Here is the method signature:
public java.lang.String getDn()
Sets the DN.
Syntax: Here is the method signature:
public void setDn(java.lang.String dn)
This section provides reference information on the DNStringArray class.
The DNStringArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
DNStringArray()
Syntax 2: Here is the syntax for a constructor that takes an array of DNString objects as a parameter:
DNStringArray(DNString[] DNStringVal)
Returns an array of DNString objects.
Syntax: Here is the method signature:
DNString[] getDnstring()
Sets the array of DNString objects associated with the DNStringArray class.
Syntax: Here is the method signature:
void setDnstring(DNString[] DnstringVal)
Class to hold Entitlement information.
The Entitlement class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Entitlement()
Gets the entitlement DN.
Syntax: Here is the method signature:
public java.lang.String getEntitlementDn()
Gets the entitlement parameters.
Syntax: Here is the method signature:
public java.lang.String getEntitlementParameters()
Sets the entitlement DN.
Syntax: Here is the method signature:
public void setEntitlementDn(java.lang.String entitlementDn)
Sets the entitlement parameters.
Syntax: Here is the method signature:
public void setEntitlementParameters(java.lang.String entitlementParameters)
This section provides reference information on the EntitlementArray class.
The EntitlementArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
EntitlementArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Entitlement objects as a parameter:
EntitlementArray(Entitlement[] EntitlementVal)
Returns an array of Entitlement objects.
Syntax: Here is the method signature:
Entitlement[] getEntitlement()
Sets the array of Entitlement objects associated with the EntitlementArray class.
Syntax: Here is the method signature:
void setEntitlement(EntitlementArray EntitlementVal)
Class to represent a Group object.
The Group class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Group()
Gets associated roles for this identity.
Syntax: Here is the method signature:
public DNStringArray getAssociatedRoles()
Gets group description.
Syntax: Here is the method signature:
public java.lang.String getDescription()
Gets identity entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets identity type.
Syntax: Here is the method signature:
public IdentityType getIdentityType()
Gets role assignments for this identity.
Syntax: Here is the method signature:
public RoleAssignmentArray getRoleAssignments()
Sets the associated roles for this identity.
Syntax: Here is the method signature:
public void setAssociatedRoles(DNStringArray associatedRoles)
Sets the group description.
Syntax: Here is the method signature:
public void setDescription(java.lang.String description)
Sets the identity entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the identity type.
Syntax: Here is the method signature:
public void setIdentityType(IdentityType identityType)
Sets the role assignments for this identity.
Syntax: Here is the method signature:
public void setRoleAssignments(RoleAssignmentArray roleAssignments)
An JAX-RPC friendly representation of com.novell.idm.nrf.api.IdentityType.
Table 24-1 Field summary
Type |
Name |
---|---|
static IdentityType |
CONTAINER |
static IdentityType |
GROUP |
static IdentityType |
ROLE |
static IdentityType |
USER |
The IdentityType class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
IdentityType()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
IdentityType(java.lang.String value)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.api.IdentityType convertToAPI()
Contructs an RPC friendly representation from an API object.
Syntax: Here is the method signature:
public static IdentityType convertToRPC(com.novell.idm.nrf.api.IdentityType type)
This is an implementation of equals(). This implementation overrides the equals() method in java.lang.Object.
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static IdentityType fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This is an implementation of hashCode(). This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
Class to represent DNs grouped by identity type. Used for SOD violations.
The IdentityTypeDnMap class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
IdentityTypeDnMap()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
IdentityTypeDnMap(IdentityType identityType, DNStringArray dns)
Gets the DNs associated with the identity type.
Syntax: Here is the method signature:
public DNStringArray getDns()
Gets identity type (USER, ROLE, GROUP, CONTAINER).
Syntax: Here is the method signature:
public IdentityType getIdentityType()
Sets the DNs to associate with the identity type.
Syntax: Here is the method signature:
public void setDns(DNStringArray dns)
Sets the identity type (USER, ROLE, GROUP, or CONTAINER).
Syntax: Here is the method signature:
public void setIdentityType(IdentityType identityType)
This section provides reference information on the IdentityTypeDnMapArray class.
The IdentityTypeDnMapArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
IdentityTypeDnMapArray()
Syntax 2: Here is the syntax for a constructor that takes an array of IdentityTypeDnMap objects as a parameter:
IdentityTypeDnMapArray(IdentityTypeDnMap[] IdentityTypeDnMapVal)
Returns an array of IdentityTypeDnMap objects.
Syntax: Here is the method signature:
IdentityTypeDnMap[] getIdentitytypednmap()
Sets the array of IdentityTypeDnMap objects associated with the IdentityTypeDnMapArray class.
Syntax: Here is the method signature:
void setIdentitytypednmap(IdentityTypeDnMap[] IdentityTypeDnMapVal)
This section provides reference information on the LongArray class.
The LongArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
LongArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Long objects as a parameter:
LongArray(long[] LongVal)
Returns an array of Long objects.
Syntax: Here is the method signature:
long[] getLong()
Sets the array of long objects associated with the LongArray class.
Syntax: Here is the method signature:
void setLong(LongArray LongVal)
This is the exception thrown by the remote Roles Web Service.
The NrfServiceException class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
NrfServiceException()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
NrfServiceException(java.lang.String reason)
Returns the reason for the exception.
Syntax: Here is the method signature:
public java.lang.String getReason()
Sets the reason for the exception.
Syntax: Here is the method signature:
public void setReason(java.lang.String reason)
An JAX-RPC friendly representation of com.novell.idm.nrf.persist.RequestCategoryType.
Table 24-2 Field Summary
The RequestCategoryType class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RequestCategoryType()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
RequestCategoryType(java.lang.String value)
Implementation of equals(). This implementation overrides the equals() method in java.lang.Object.
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.persist.RequestCategoryType fromRPC() throws com.novell.idm.nrf.exception.NrfException
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static RequestCategoryType fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Constructs an RPC friendly representation off of an API object.
Syntax: Here is the method signature:
public static RequestCategoryType toRPC(com.novell.idm.nrf.persist.RequestCategoryType type)
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
An JAX-RPC friendly representation of com.novell.idm.nrf.persist.RequestStatus.
Table 24-3 Field Summary
The RequestStatus class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RequestStatus()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
RequestStatus(java.lang.String value)
Implementation of equals().
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.persist.RequestStatus fromRPC() throws com.novell.idm.nrf.exception.NrfException
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static RequestStatus fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Constructs an RPC friendly representation off of an API object.
Syntax: Here is the method signature:
public static RequestStatus toRPC(com.novell.idm.nrf.persist.RequestStatus type)
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
Value class to hold the role information.
The Role class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Role()
Gets the approvers of the role approval.
Syntax: Here is the method signature:
public ApproverArray getApprovers()
Gets the associated roles.
Syntax: Here is the method signature:
public DNStringArray getAssociatedRoles()
Gets the children roles.
Syntax: Here is the method signature:
public DNStringArray getChildRoles()
Gets the role description.
Syntax: Here is the method signature:
public java.lang.String getDescription()
Gets the entitlement references.
Syntax: Here is the method signature:
public EntitlementArray getEntitlementRef()
Gets the role entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets the implicit container DNs.
Syntax: Here is the method signature:
public DNStringArray getImplicitContainers()
Gets implicit group DNs.
Syntax: Here is the method signature:
public DNStringArray getImplicitGroups()
Gets the role name.
Syntax: Here is the method signature:
public java.lang.String getName()
Gets the owner DNs.
Syntax: Here is the method signature:
public DNStringArray getOwners()
Gets the parent roles.
Syntax: Here is the method signature:
public DNStringArray getParentRoles()
Gets the quorum amount.
Syntax: Here is the method signature:
public java.lang.String getQuorum()
Gets the request definition for approval processing.
Syntax: Here is the method signature:
public java.lang.String getRequestDef()
Gets the role assignments.
Syntax: Here is the method signature:
public RoleAssignmentArray getRoleAssignments()
Gets the role category keys.
Syntax: Here is the method signature:
public CategoryKeyArray getRoleCategoryKeys()
Gets the role level object.
Syntax: Here is the method signature:
public RoleLevel getRoleLevel()
Gets the system role flag.
Syntax: Here is the method signature:
public boolean getSystemRole()
Sets the approvers for role approval processing.
Syntax: Here is the method signature:
public void setApprovers(ApproverArray approvers)
Sets the associated roles.
Syntax: Here is the method signature:
public void setAssociatedRoles(DNStringArray associatedRoles)
Sets the children roles.
Syntax: Here is the method signature:
public void setChildRoles(DNStringArray childRoles)
Sets the role description.
Syntax: Here is the method signature:
public void setDescription(java.lang.String description)
Sets the entitlement references.
Syntax: Here is the method signature:
public void setEntitlementRef(EntitlementArray entitlementRef)
Sets the role entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the implicit container DNs.
Syntax: Here is the method signature:
public void setImplicitContainers(DNStringArray implicitContainers)
Sets the implicit group DNs.
Syntax: Here is the method signature:
public void setImplicitGroups(DNStringArray implicitGroups)
Sets the role name.
Syntax: Here is the method signature:
public void setName(java.lang.String name)
Sets the owner DNs.
Syntax: Here is the method signature:
public void setOwners(DNStringArray owners)
Sets the parent roles.
Syntax: Here is the method signature:
public void setParentRoles(DNStringArray parentRoles)
Sets the quorum amount.
Syntax: Here is the method signature:
public void setQuorum(java.lang.String quorum)
Sets the request definition for approval processing.
Syntax: Here is the method signature:
public void setRequestDef(java.lang.String requestDef)
Sets the role assignments.
Syntax: Here is the method signature:
public void setRoleAssignments(RoleAssignmentArray roleAssignments)
Sets the role category keys.
Syntax: Here is the method signature:
public void setRoleCategoryKeys(CategoryKeyArray roleCategoryKeys)
Sets the role level object.
Syntax: Here is the method signature:
public void setRoleLevel(RoleLevel roleLevel)
Sets the system role flag.
Syntax: Here is the method signature:
public void setSystemRole(boolean systemRole)
Value class to hold role assignment information.
The RoleAssignment class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleAssignment()
Gets the role assignment type.
Syntax: Here is the method signature:
public RoleAssignmentType getAssignmentType()
Gets the cause identities DNs.
Syntax: Here is the method signature:
public IdentityTypeDnMapArray getCauseIdentities()
Gets the effective date.
Syntax: Here is the method signature:
public java.util.Date getEffectiveDate()
Gets the expiration date.
Syntax: Here is the method signature:
public java.util.Date getExpirationDate()
Gets the explicit identities DNs.
Syntax: Here is the method signature:
public DNStringArray getExplicitIdentities()
Gets the role associated with the assignment.
Syntax: Here is the method signature:
public java.lang.String getRole()
Sets the role assignment type.
Syntax: Here is the method signature:
public void setAssignmentType(RoleAssignmentType assignmentType)
Sets the cause identities DNs.
Syntax: Here is the method signature:
public void setCauseIdentities(IdentityTypeDnMapArray causeIdentities)
Sets the effective date.
Syntax: Here is the method signature:
public void setEffectiveDate(java.util.Date effectiveDate)
Sets the expiration date.
Syntax: Here is the method signature:
public void setExpirationDate(java.util.Date expirationDate)
Sets the explicit identities DNs.
Syntax: Here is the method signature:
public void setExplicitIdentities(DNStringArray explicitIdentities)
Sets role associated with this assignment.
Syntax: Here is the method signature:
public void setRole(java.lang.String role)
This section provides reference information on the RoleAssignmentArray class.
The RoleAssignmentArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RoleAssignmentArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
RoleAssignmentArray(RoleAssignment[] RoleAssignmentVal)
Returns an array of RoleAssignment objects.
Syntax: Here is the method signature:
RoleAssignment[] getRoleassignment()
Sets the array of RoleAssignment objects associated with the RoleAssignmentArray class.
Syntax: Here is the method signature:
void setRoleassignment (RoleAssignment[] RoleAssignmentVal)
An JAX-RPC friendly representation of com.novell.idm.nrf.RoleAssignmentActionType.
Table 24-4 Field Summary
Type |
Name |
---|---|
static RoleAssignmentActionType |
EXTEND |
static RoleAssignmentActionType |
GRANT |
static RoleAssignmentActionType |
REVOKE |
The RoleAssignmentActionType class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RoleAssignmentActionType()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
RoleAssignmentActionType(java.lang.String value)
Implementation of equals().
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.RoleAssignmentActionType fromRPC()
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static RoleAssignmentActionType fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This is an implementation of hashCode(). This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Constructs an RPC friendly representation off of an API object.
Syntax: Here is the method signature:
public static RoleAssignmentActionType toRPC(com.novell.idm.nrf.RoleAssignmentActionType type)
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
Class to represent a role assignment request.
The RoleAssignmentRequest class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleAssignmentRequest()
Gets role assignment type (grant, revoke, extend).
Syntax: Here is the method signature:
public RoleAssignmentActionType getActionType()
Gets the role assignment type.
Syntax: Here is the method signature:
public RoleAssignmentType getAssignmentType()
Gets the correlation ID.
Syntax: Here is the method signature:
public java.lang.String getCorrelationID()
Gets the effective date.
Syntax: Here is the method signature:
public java.util.Date getEffectiveDate()
Gets the expiration date.
Syntax: Here is the method signature:
public java.util.Date getExpirationDate()
Gets the identity to assign roles to.
Syntax: Here is the method signature:
public java.lang.String getIdentity()
Gets the reason for the role assignment.
Syntax: Here is the method signature:
public java.lang.String getReason()
Gets the roles to assign to the identity.
Syntax: Here is the method signature:
public DNStringArray getRoles()
Gets the SOD DNs and justification to override.
Syntax: Here is the method signature:
public SodJustificationArray getSodOveridesRequested()
Sets the action type (grant, revoke, extend).
Syntax: Here is the method signature:
public void setActionType(RoleAssignmentActionType actionType)
Sets the role assignment type.
Syntax: Here is the method signature:
public void setAssignmentType(RoleAssignmentType assignmentType)
Sets the correlation ID.
Syntax: Here is the method signature:
public void setCorrelationID(java.lang.String correlationID)
Sets the effective date.
Syntax: Here is the method signature:
public void setEffectiveDate(java.util.Date effectiveDate)
Sets the expiration date.
Syntax: Here is the method signature:
public void setExpirationDate(java.util.Date expirationDate)
Sets the identity to assign roles to.
Syntax: Here is the method signature:
public void setIdentity(java.lang.String identity)
Sets the reason for the role assignment.
Syntax: Here is the method signature:
public void setReason(java.lang.String reason)
Sets the roles to assign to the identity.
Syntax: Here is the method signature:
public void setRoles(DNStringArray roles)
Sets the SOD DNs and justification to override.
Syntax: Here is the method signature:
public void setSodOveridesRequested(SodJustificationArray sodOveridesRequested)
This class represents the status of a role assignment.
The RoleAssignmentRequestStatus class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleAssignmentRequestStatus()
Gets the request category.
Syntax: Here is the method signature:
public RequestCategoryType getCategory()
Gets the correlation ID.
Syntax: Here is the method signature:
public java.lang.String getCorrelationId()
Gets the effective date.
Syntax: Here is the method signature:
public java.util.Date getEffectiveDate()
Gets the entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets the expiration date.
Syntax: Here is the method signature:
public java.util.Date getExpirationDate()
Gets the reason for the role assignment.
Syntax: Here is the method signature:
public java.lang.String getReason()
Gets the request date.
Syntax: Here is the method signature:
public java.util.Date getRequestDate()
Gets the request DN.
Syntax: Here is the method signature:
public java.lang.String getRequester()
Gets the source Role DN.
Syntax: Here is the method signature:
public java.lang.String getSource()
Gets the request status.
Syntax: Here is the method signature:
public RequestStatus getStatus()
Gets the targeted identity DN.
Syntax: Here is the method signature:
public java.lang.String getTarget()
Sets the request category.
Syntax: Here is the method signature:
public void setCategory(RequestCategoryType category)
Sets the correlation ID.
Syntax: Here is the method signature:
public void setCorrelationId(java.lang.String correlationId)
Sets the effective date.
Syntax: Here is the method signature:
public void setEffectiveDate(java.util.Date effectiveDate)
Sets the entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the expiration date.
Syntax: Here is the method signature:
public void setExpirationDate(java.util.Date expirationDate)
Sets the reason for the role assignment.
Syntax: Here is the method signature:
public void setReason(java.lang.String reason)
Sets the request date.
Syntax: Here is the method signature:
public void setRequestDate(java.util.Date requestDate)
Sets the requester DN.
Syntax: Here is the method signature:
public void setRequester(java.lang.String requester)
Sets the source Role DN.
Syntax: Here is the method signature:
public void setSource(java.lang.String source)
Sets the request status.
Syntax: Here is the method signature:
public void setStatus(RequestStatus status)
Sets the identity targeted DN.
Syntax: Here is the method signature:
public void setTarget(java.lang.String target)
An JAX-RPC friendly representation of com.novell.idm.nrf.RoleAssignmentType.
Table 24-5 Field Summary
The CategoryKey class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
CategoryKey()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
CategoryKey(java.lang.String categoryKey)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.RoleAssignmentType convertToAPI()
Constructs an RPC friendly representation off of an API object.
Syntax: Here is the method signature:
public static RoleAssignmentType convertToRPC(com.novell.idm.nrf.RoleAssignmentType type)
Implementation of equals().
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static RoleAssignmentType fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This is an implementation of hashCode(). This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
An JAX-RPC friendly representation of the details of the com.novell.idm.nrf.RoleAssignmentType enumeration.
The RoleAssignmentTypeInfo class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleAssignmentTypeInfo()
Constructs an RPC friendly representation from an API object.
Syntax: Here is the method signature:
public static RoleAssignmentTypeInfo convertToRPC(com.novell.idm.nrf.RoleAssignmentType type)
Returns the JAX-RPC friendly identity type.
Syntax: Here is the method signature:
public IdentityType getIdentityType()
Determines whether the sub tree is included.
Syntax: Here is the method signature:
public boolean getSubtreeIncluded()
Determines whether the assignment supports approval.
Syntax: Here is the method signature:
public boolean getSupportsApproval()
Determines whether the assignment supports an effective date.
Syntax: Here is the method signature:
public boolean getSupportsEffectiveDate()
Determines whether the assignment supports expiration.
Syntax: Here is the method signature:
public boolean getSupportsExpiration()
Determines whether the assignment supports SOD approval.
Syntax: Here is the method signature:
public boolean getSupportsSODApproval()
Sets the JAX-RPC friendly identity type.
Syntax: Here is the method signature:
public void setIdentityType(IdentityType type)
Sets whether the sub tree is included.
Syntax: Here is the method signature:
public void setSubtreeIncluded(boolean bool)
Sets whether the assignment supports approval.
Syntax: Here is the method signature:
public void setSupportsApproval(boolean bool)
Sets whether the assignment supports effective date.
Syntax: Here is the method signature:
public void setSupportsEffectiveDate(boolean bool)
Sets whethers the assignment supports expiration.
Syntax: Here is the method signature:
public void setSupportsExpiration(boolean bool)
Sets whether the assignment supports SOD approval.
Syntax: Here is the method signature:
public void setSupportsSODApproval(boolean bool)
Value class to hold main role information. This is a small subset of the role value class.
The RoleInfo class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleInfo()
Gets the role description.
Syntax: Here is the method signature:
public java.lang.String getDescription()
Gets the role entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets the role name.
Syntax: Here is the method signature:
public java.lang.String getName()
Gets the role category keys.
Syntax: Here is the method signature:
public CategoryKeyArray getRoleCategoryKeys()
Gets the role level object.
Syntax: Here is the method signature:
public RoleLevel getRoleLevel()
Sets the role description.
Syntax: Here is the method signature:
public void setDescription(java.lang.String description)
Sets the role entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the role name.
Syntax: Here is the method signature:
public void setName(java.lang.String name)
Sets the role category keys.
Syntax: Here is the method signature:
public void setRoleCategoryKeys(CategoryKeyArray roleCategoryKeys)
Sets role level object.
Syntax: Here is the method signature:
public void setRoleLevel(RoleLevel roleLevel)
This section provides reference information on the RoleInfoArray class.
The RoleInfoArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RoleInfoArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
RoleInfoArray(RoleInfo[] RoleInfoVal)
Returns an array of RoleInfo objects.
Syntax: Here is the method signature:
RoleInfo[] getRoleinfo()
Sets the array of RoleInfo objects associated with the RoleInfoArray class.
Syntax: Here is the method signature:
void setRoleinfo (RoleInfo[] RoleInfoVal)
This class represent a role level.
The RoleLevel class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleLevel()
Gets the role level container.
Syntax: Here is the method signature:
public java.lang.String getContainer()
Gets the role level description.
Syntax: Here is the method signature:
public java.lang.String getDescription()
Gets the role level.
Syntax: Here is the method signature:
public long getLevel()
Gets the role level name.
Syntax: Here is the method signature:
public java.lang.String getName()
Sets the role level container.
Syntax: Here is the method signature:
public void setContainer(java.lang.String container)
Sets the role level description.
Syntax: Here is the method signature:
public void setDescription(java.lang.String description)
Sets the role level.
Syntax: Here is the method signature:
public void setLevel(long level)
Sets the role level name.
Syntax: Here is the method signature:
public void setName(java.lang.String name)
This section provides reference information on the RoleLevelArray class.
The RoleLevelArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
RoleLevelArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
RoleLevelArray(RoleLevel[] RoleLevelVal)
Returns an array of RoleLevel objects.
Syntax: Here is the method signature:
RoleLevel[] getRolelevel()
Sets the array of RoleLevel objects associated with the RoleLevelArray class.
Syntax: Here is the method signature:
void setRolelevel (RoleLevel[] RoleLevelVal)
Delegate class to perform the actual call to the API layer. Should be used by all skeleton classes.
The RoleServiceDelegate class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleServiceDelegate(com.novell.srvprv.spi.security.ISecurityContext ctx, java.util.Locale locale)
Finds all SoD objects based on the search criteria in the given SOD object.
Syntax: Here is the method signature:
SodArray findSodByExample(Sod sod) throws NrfServiceException, java.rmi.RemoteException
Finds all SoD objects based on the search criteria found in the given SOD object
Syntax: Here is the method signature:
SodArray findSodByExampleWithOperator(Sod searchCriteria, boolean useAndForMultiValueSearch) throws NrfServiceException, java.rmi.RemoteException
Find by key.
Syntax: Here is the method signature:
Sod findSodById(java.lang.String entityKey) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignments for a specified identity.
Syntax: Here is the method signature:
RoleAssignmentArray getAssignedIdentities(java.lang.String identityDn, IdentityType type, boolean direct) throws NrfServiceException, java.rmi.RemoteException
Returns the role system configuration defined in the role vault root (nrfConfiguration)
Syntax: Here is the method signature:
Configuration getConfiguration() throws NrfServiceException, java.rmi.RemoteException
Gets container and role information for a given container DN.
Syntax: Here is the method signature:
Container getContainer(java.lang.String containerDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD violations found for a specific identity and type.
Syntax: Here is the method signature:
SodArray getExceptionsList(java.lang.String identity, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Gets group and role information for a given group DN.
Syntax: Here is the method signature:
Group getGroup(java.lang.String groupDn) throws NrfServiceException, java.rmi.RemoteException
Returns a map of identities which are in violation of a given SoD.
Syntax: Here is the method signature:
IdentityTypeDnMapArray getIdentitiesInViolation(java.lang.String sodDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts found for a given list of roles for a given identity.
Syntax: Here is the method signature:
SodArray getIdentityRoleConflicts(java.lang.String identity, IdentityType identityType, DNStringArray requestedRoles) throws NrfServiceException, java.rmi.RemoteException
Retrieves a role object defined by a role DN
Syntax: Here is the method signature:
Role getRole(java.lang.String roleDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given a correlation ID.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatus(java.lang.String correlationId) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given an identity and an identity type.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatusByIdentityType(java.lang.String identityDn, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Retrieves details about a RoleAssignmentType.
Syntax: Here is the method signature:
RoleAssignmentTypeInfo getRoleAssignmentTypeInfo(RoleAssignmentType type) throws NrfServiceException, java.rmi.RemoteException
Gets role categories.
Syntax: Here is the method signature:
CategoryArray getRoleCategories() throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances found for all given roles. This method always returns a list.
Syntax: Here is the method signature:
SodArray getRoleConflicts(DNStringArray roles) throws NrfServiceException, java.rmi.RemoteException
Gets role levels.
Syntax: Here is the method signature:
RoleLevelArray getRoleLevels() throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role DNs.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfo(DNStringArray roleDns) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role category keys.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByCategory(CategoryKeyArray roleCategoryKeys) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role levels.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByLevel(LongArray roleLevels) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts defined between the target role DN and the source role DN.
Syntax: Here is the method signature:
SodArray getTargetSourceConflicts(java.lang.String targetName, java.lang.String sourceName) throws NrfServiceException, java.rmi.RemoteException
Gets user info including all role assignments for a given user DN stored in a UserIdentity object.
Syntax: Here is the method signature:
User getUser(java.lang.String userDn) throws NrfServiceException, java.rmi.RemoteException
Returns the version of this Web Service.
Syntax: Here is the method signature:
VersionVO getVersion() throws java.rmi.RemoteException
Returns boolean flag; true if role has been assigned to a User identity
Syntax: Here is the method signature:
boolean isUserInRole(java.lang.String userDn, java.lang.String roleDn)
Returns a list of request DNs created by the role assignment
Syntax: Here is the method signature:
DNStringArray requestRolesAssignment(RoleAssignmentRequest roleAssignmentRequest) throws NrfServiceException, java.rmi.RemoteException
Class to represent the skeleton server side implementation of the Role Based offered services.
The RoleServiceSkeletonImpl class supports a single constructor.
Syntax: Here is the syntax for the constructor:
RoleServiceSkeletonImpl()
Finds all SoD objects based on the search criteria in the given SOD object.
Syntax: Here is the method signature:
SodArray findSodByExample(Sod sod) throws NrfServiceException, java.rmi.RemoteException
Finds all SoD objects based on the search criteria found in the given SOD object
Syntax: Here is the method signature:
SodArray findSodByExampleWithOperator(Sod searchCriteria, boolean useAndForMultiValueSearch) throws NrfServiceException, java.rmi.RemoteException
Find by key.
Syntax: Here is the method signature:
Sod findSodById(java.lang.String entityKey) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignments for a specified identity.
Syntax: Here is the method signature:
RoleAssignmentArray getAssignedIdentities(java.lang.String identityDn, IdentityType type, boolean direct) throws NrfServiceException, java.rmi.RemoteException
Returns the role system configuration defined in the role vault root (nrfConfiguration)
Syntax: Here is the method signature:
Configuration getConfiguration() throws NrfServiceException, java.rmi.RemoteException
Gets container and role information for a given container DN.
Syntax: Here is the method signature:
Container getContainer(java.lang.String containerDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD violations found for a specific identity and type.
Syntax: Here is the method signature:
SodArray getExceptionsList(java.lang.String identity, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Gets group and role information for a given group DN.
Syntax: Here is the method signature:
Group getGroup(java.lang.String groupDn) throws NrfServiceException, java.rmi.RemoteException
Returns a map of identities which are in violation of a given SoD.
Syntax: Here is the method signature:
IdentityTypeDnMapArray getIdentitiesInViolation(java.lang.String sodDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts found for a given list of roles for a given identity.
Syntax: Here is the method signature:
SodArray getIdentityRoleConflicts(java.lang.String identity, IdentityType identityType, DNStringArray requestedRoles) throws NrfServiceException, java.rmi.RemoteException
Retrieves a role object defined by a role DN
Syntax: Here is the method signature:
Role getRole(java.lang.String roleDn) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given a correlation ID.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatus(java.lang.String correlationId) throws NrfServiceException, java.rmi.RemoteException
Returns a list of role assignment request status instances given an identity and an identity type.
Syntax: Here is the method signature:
RoleAssignmentRequestStatusArray getRoleAssignmentRequestStatusByIdentityType(java.lang.String identityDn, IdentityType identityType) throws NrfServiceException, java.rmi.RemoteException
Retrieves details about a RoleAssignmentType.
Syntax: Here is the method signature:
RoleAssignmentTypeInfo getRoleAssignmentTypeInfo(RoleAssignmentType type) throws NrfServiceException, java.rmi.RemoteException
Gets role categories.
Syntax: Here is the method signature:
CategoryArray getRoleCategories() throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances found for all given roles. This method always returns a list.
Syntax: Here is the method signature:
SodArray getRoleConflicts(DNStringArray roles) throws NrfServiceException, java.rmi.RemoteException
Gets role levels.
Syntax: Here is the method signature:
RoleLevelArray getRoleLevels() throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role DNs.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfo(DNStringArray roleDns) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role category keys.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByCategory(CategoryKeyArray roleCategoryKeys) throws NrfServiceException, java.rmi.RemoteException
Returns a list of RoleInfo instances given a list of role levels.
Syntax: Here is the method signature:
RoleInfoArray getRolesInfoByLevel(LongArray roleLevels) throws NrfServiceException, java.rmi.RemoteException
Returns a list of Sod instances for all SOD conflicts defined between the target role DN and the source role DN.
Syntax: Here is the method signature:
SodArray getTargetSourceConflicts(java.lang.String targetName, java.lang.String sourceName) throws NrfServiceException, java.rmi.RemoteException
Gets user info including all role assignments for a given user DN stored in a UserIdentity object.
Syntax: Here is the method signature:
User getUser(java.lang.String userDn) throws NrfServiceException, java.rmi.RemoteException
Returns the version of this Web Service.
Syntax: Here is the method signature:
VersionVO getVersion() throws java.rmi.RemoteException
Returns boolean flag; true if role has been assigned to a User identity
Syntax: Here is the method signature:
boolean isUserInRole(java.lang.String userDn, java.lang.String roleDn)
Returns a list of request DNs created by the role assignment
Syntax: Here is the method signature:
DNStringArray requestRolesAssignment(RoleAssignmentRequest roleAssignmentRequest) throws NrfServiceException, java.rmi.RemoteException
Value object to hold SOD information.
The Sod class supports a single constructor.
Syntax: Here is the syntax for the constructor:
Sod()
Gets the SOD approval type.
Syntax: Here is the method signature:
public SodApprovalType getApprovalType()
Gets SOD approvers.
Syntax: Here is the method signature:
public ApproverArray getApprovers()
Gets the SOD description.
Syntax: Here is the method signature:
public java.lang.String getDescription()
Gets the SOD entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets the SOD name.
Syntax: Here is the method signature:
public java.lang.String getName()
Gets the SOD quorum amount.
Syntax: Here is the method signature:
public java.lang.String getQuorum()
Gets the request definition for approval processing.
Syntax: Here is the method signature:
public java.lang.String getRequestDef()
Gets the SOD roles.
Syntax: Here is the method signature:
public DNStringArray getRoles()
Sets the SOD approval type.
Syntax: Here is the method signature:
public void setApprovalType(SodApprovalType approvalType)
Sets the SOD approvers.
Syntax: Here is the method signature:
public void setApprovers(ApproverArray approvers)
Sets the SOD description.
Syntax: Here is the method signature:
public void setDescription(java.lang.String description)
Sets the SOD entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the SOD name.
Syntax: Here is the method signature:
public void setName(java.lang.String name)
Sets the SOD quorum amount.
Syntax: Here is the method signature:
public void setQuorum(java.lang.String quorum)
Sets the request definition for approval processing.
Syntax: Here is the method signature:
public void setRequestDef(java.lang.String requestDef)
Sets the SOD roles.
Syntax: Here is the method signature:
public void setRoles(DNStringArray roles)
This section provides reference information on the SodArray class.
The SodArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
SodArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
SodArray(Sod[] SodVal)
Returns an array of Sod objects.
Syntax: Here is the method signature:
Sod[] getSod()
Sets the array of Sod objects associated with the SodArray class.
Syntax: Here is the method signature:
void setSod (Sod[] SodVal)
An JAX-RPC friendly representation of com.novell.idm.nrf.api.SodApprovalType.
Table 24-6 Field Summary
Type |
Name |
---|---|
static SodApprovalType |
ALLOW_WITH_WORKFLOW |
static SodApprovalType |
ALWAYS_ALLOW |
The SodApprovalType class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
SodApprovalType()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
SodApprovalType(java.lang.String value)
Implementation of equals().
Syntax: Here is the method signature:
public boolean equals(java.lang.Object obj)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.api.SodApprovalType fromRPC() throws com.novell.idm.nrf.exception.NrfException
This method is for WSSDK serialization.
Syntax: Here is the method signature:
public static SodApprovalType fromValue(java.lang.String value)
Gets the type.
Syntax: Here is the method signature:
public java.lang.String getValue()
This is an implementation of hashCode(). This implementation overrides the hashCode() method in java.lang.Object.
Syntax: Here is the method signature:
public int hashCode()
Sets the type.
Syntax: Here is the method signature:
public void setValue(java.lang.String type)
Reconstructs an API representation object from an RPC representation.
Syntax: Here is the method signature:
public com.novell.idm.nrf.api.SodApprovalType fromRPC() throws com.novell.idm.nrf.exception.NrfException
Implementation of toString() that returns a string representation of the class.
Syntax: Here is the method signature:
public java.lang.String toString()
Class to represent an SOD DN to override with a justification. Used for assignment of roles to be able to pass in a justification for overrides of SODs.
The SodJustification class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
SodJustification()
Syntax 2: Here is the syntax for a constructor that takes two String values as parameters:
SodJustification(java.lang.String sodDN, java.lang.String justification)
Gets the SOD justification for override.
Syntax: Here is the method signature:
public java.lang.String getJustification()
Gets the SOD DN for override.
Syntax: Here is the method signature:
public java.lang.String getSodDN()
Sets the justification for override.
Syntax: Here is the method signature:
public void setJustification(java.lang.String justification)
Sets the SOD DN for override.
Syntax: Here is the method signature:
public void setSodDN(java.lang.String sodDN)
This section provides reference information on the SodJustificationArray class.
The SodJustificationArray class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
SodJustificationArray()
Syntax 2: Here is the syntax for a constructor that takes an array of Attribute objects as a parameter:
SodJustificationArray(SodJustification[] SodJustificationVal)
Returns an array of SodJustification objects.
Syntax: Here is the method signature:
SodJustification[] getSodjustification()
Sets the array of SodJustification objects associated with the SodJustificationArray class.
Syntax: Here is the method signature:
void setSodjustification (SodJustification[] SodJustificationVal)
Value class to hold user identity information.
The User class supports a single constructor.
Syntax: Here is the syntax for the constructor:
User()
Gets the associated roles for this identity.
Syntax: Here is the method signature:
public DNStringArray getAssociatedRoles()
Gets the cn.
Syntax: Here is the method signature:
public java.lang.String getCn()
Gets the container roles.
Syntax: Here is the method signature:
public DNStringArray getContainerRoles()
Gets the email address.
Syntax: Here is the method signature:
public java.lang.String getEmail()
Gets the identity entity key.
Syntax: Here is the method signature:
public java.lang.String getEntityKey()
Gets the explicit role assignments.
Syntax: Here is the method signature:
public RoleAssignmentArray getExplicitAssignments()
Gets the first name.
Syntax: Here is the method signature:
public java.lang.String getFirstName()
Gets the group roles.
Syntax: Here is the method signature:
public DNStringArray getGroupRoles()
Gets identity type.
Syntax: Here is the method signature:
public IdentityType getIdentityType()
Gets the implicit role assignments.
Syntax: Here is the method signature:
public RoleAssignmentArray getImplicitAssignments()
Gets the inherited role assignments.
Syntax: Here is the method signature:
public RoleAssignmentArray getInheritedAssignments()
Gets the inherited roles.
Syntax: Here is the method signature:
public DNStringArray getInheritedRoles()
Gets the last name.
Syntax: Here is the method signature:
public java.lang.String getLastName()
Gets the role assignments for this identity.
Syntax: Here is the method signature:
public RoleAssignmentArray getRoleAssignments()
Sets the associated roles for this identity.
Syntax: Here is the method signature:
public void setAssociatedRoles(DNStringArray associatedRoles)
Sets the CN.
Syntax: Here is the method signature:
public void setCn(java.lang.String cn)
Sets the container roles.
Syntax: Here is the method signature:
public void setContainerRoles(DNStringArray containerRoles)
Sets the email address.
Syntax: Here is the method signature:
public void setEmail(java.lang.String email)
Sets the identity entity key.
Syntax: Here is the method signature:
public void setEntityKey(java.lang.String entityKey)
Sets the explicit role assignments.
Syntax: Here is the method signature:
public void setExplicitAssignments(RoleAssignmentArray explicitAssignments)
Sets the first name.
Syntax: Here is the method signature:
public void setFirstName(java.lang.String firstName)
Sets the group roles.
Syntax: Here is the method signature:
public void setGroupRoles(DNStringArray groupRoles)
Sets the identity type.
Syntax: Here is the method signature:
public void setIdentityType(IdentityType identityType)
Sets the implicit role assignments.
Syntax: Here is the method signature:
public void setImplicitAssignments(RoleAssignmentArray implicitAssignments)
Sets the inherited role assignments.
Syntax: Here is the method signature:
public void setInheritedAssignments(RoleAssignmentArray inheritedAssignments)
Sets the inherited roles.
Syntax: Here is the method signature:
public void setInheritedRoles(DNStringArray inheritedRoles)
Sets the last name.
Syntax: Here is the method signature:
public void setLastName(java.lang.String lastName)
Sets the role assignments for this identity.
Syntax: Here is the method signature:
public void setRoleAssignments(RoleAssignmentArray roleAssignments)
A value object for Version.
The VersionVO class has two constructors.
Syntax 1: Here is the syntax for a constructor that takes no parameters:
VersionVO()
Syntax 2: Here is the syntax for a constructor that takes a String as a parameter:
VersionVO(java.lang.String version)
Gets the version.
Syntax: Here is the method signature:
public java.lang.String getValue()
Sets the version.
Syntax: Here is the method signature:
public void setValue(java.lang.String version)