コード例 #1
0
ファイル: Organization.java プロジェクト: aldaris/opensso
 /**
  * Removes the rule applying to the given People Container guid with the given filter string.
  *
  * @param filter filter string of the rule to be removed
  * @param guid guid of which the rule applies to
  * @exception UMSException Failure
  * @supported.api
  */
 public void removePeopleContainerRule(Guid guid, String filter) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   mt.removeRule(guid, filter);
 }
コード例 #2
0
ファイル: Organization.java プロジェクト: aldaris/opensso
 /**
  * Sets the default People Container for user entries under the organization.
  *
  * @param guid guid of the default People Container
  * @exception UMSException Failure
  * @supported.api
  */
 public void setDefaultPeopleContainer(Guid guid) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   mt.setDefault(guid);
 }
コード例 #3
0
ファイル: Organization.java プロジェクト: aldaris/opensso
 /**
  * Gets People Container associated with the user.
  *
  * @param user user object to lookup
  * @return guid identifying People Container associated with the user, null if no match found
  * @exception UMSException Failure
  */
 private String getPeopleContainer(User user) throws UMSException {
   PCMappingTable mt = PCMappingTable.getPCMappingTable(this);
   return mt.getPeopleContainer(user);
 }