Class X500AttributePrincipalDecoder

    • Constructor Detail

      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             boolean reverse)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
        reverse - true if the attribute values should be processed and returned in reverse order
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             int maximumSegments)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             int maximumSegments,
                                             boolean reverse)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
        reverse - true if the attribute values should be processed and returned in reverse order
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             int startSegment,
                                             int maximumSegments)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
        startSegment - the 0-based starting occurrence of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             int startSegment,
                                             int maximumSegments,
                                             boolean reverse)
        Deprecated.
        Construct a new instance. A joining string of "." is assumed.
        Parameters:
        oid - the OID of the attribute to map
        startSegment - the 0-based starting occurrence of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
        reverse - true if the attribute values should be processed and returned in reverse order
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             String joiner)
        Deprecated.
        Construct a new instance.
        Parameters:
        oid - the OID of the attribute to map
        joiner - the joining string
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             String joiner,
                                             boolean reverse)
        Deprecated.
        Construct a new instance.
        Parameters:
        oid - the OID of the attribute to map
        joiner - the joining string
        reverse - true if the attribute values should be processed and returned in reverse order
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             String joiner,
                                             int maximumSegments)
        Deprecated.
        Construct a new instance.
        Parameters:
        oid - the OID of the attribute to map
        joiner - the joining string
        maximumSegments - the maximum number of occurrences of the attribute to map
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             String joiner,
                                             int startSegment,
                                             int maximumSegments,
                                             boolean reverse)
        Deprecated.
        Construct a new instance.
        Parameters:
        oid - the OID of the attribute to map
        joiner - the joining string
        startSegment - the 0-based starting occurrence of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
        reverse - true if the attribute values should be processed and returned in reverse order
      • X500AttributePrincipalDecoder

        public X500AttributePrincipalDecoder​(String oid,
                                             String joiner,
                                             int startSegment,
                                             int maximumSegments,
                                             boolean reverse,
                                             boolean convert,
                                             String... requiredOids)
        Deprecated.
        Construct a new instance.
        Parameters:
        oid - the OID of the attribute to map
        joiner - the joining string
        startSegment - the 0-based starting occurrence of the attribute to map
        maximumSegments - the maximum number of occurrences of the attribute to map
        reverse - true if the attribute values should be processed and returned in reverse order
        convert - true if the Principal should be converted to X500Principal if not one already
        requiredOids - the OIDs of the attributes that must be present
    • Method Detail

      • getName

        public String getName​(Principal principal)
        Deprecated.
        Description copied from interface: PrincipalDecoder
        Get the name from a principal. If this decoder cannot understand the given principal type or contents, null is returned.
        Specified by:
        getName in interface PrincipalDecoder
        Parameters:
        principal - the principal to decode
        Returns:
        the name, or null if this decoder does not understand the principal