com.ibm.itim.policy.join

Class Bitwise

  • java.lang.Object
    • com.ibm.itim.policy.join.Bitwise
  • All Implemented Interfaces:
    JoinInterface


    public class Bitwise
    extends java.lang.Object
    implements JoinInterface
    Will join attribute values containing Strings representing integers in bitstring format to be joined using a bitwise operation: | or &. I.E.:
     
     attr. 1 is 1111011 (123) attr. 2 is 1111101 (125)
     
     1111011 | (bitwise or) 1111101 = 1111111 (127)
     
     1111011 & (bitwise and) 1111101 = 1111001 (121)
     
     
    Will also deal with bitstrings represented by the RFC2252 format i.e: '01010101'B
    • Constructor Summary

      Constructors 
      Constructor and Description
      Bitwise()
      default constructor necessary for using reflections to instantiate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.itim.dataservices.model.policy.ServiceAttributeParameter join(java.util.Collection policyEntitlementPairs, com.ibm.itim.dataservices.model.policy.JoinDirectiveInfo joinInfo)
      Method will join all values from all provisioning parameters.
      void setContext(java.util.Map attributeValues, ServiceEntity service, PersonEntity person)
      Method will set context inforamtion which may be helpful in determining custom joining logic.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bitwise

        public Bitwise()
        default constructor necessary for using reflections to instantiate
    • Method Detail

      • setContext

        public void setContext(java.util.Map attributeValues,
                               ServiceEntity service,
                               PersonEntity person)
        Method will set context inforamtion which may be helpful in determining custom joining logic.
        Specified by:
        setContext in interface JoinInterface
        Parameters:
        attributeValues - Map of all existing account attributes values. Value will be non-null when the method is called in the context of validating of an existing account.
        service - ServiceEntity representitng service instance for which the parameters are being joined together.
        person - PersonEntity representitng the person for whose account the parameters are being joined together. AttributeValue object corresponding to the provisioning parameter being joined. When method called in the context of account creation, the value is null.
      • join

        public com.ibm.itim.dataservices.model.policy.ServiceAttributeParameter join(java.util.Collection policyEntitlementPairs,
                                                                                     com.ibm.itim.dataservices.model.policy.JoinDirectiveInfo joinInfo)
        Method will join all values from all provisioning parameters.
        Specified by:
        join in interface JoinInterface
        Parameters:
        policyEntitlementPairs - Collection of EntitlementInProvisioningPolicy objects
        joinInfo - JoinDirectiveInfo objects
        Returns:
        ServiceAttributeParameter including joined attribute values