Package org.wildfly.security.x500
Class X500AttributePrincipalDecoder
java.lang.Object
org.wildfly.security.x500.X500AttributePrincipalDecoder
- All Implemented Interfaces:
Function<Principal,,String> PrincipalDecoder
@Deprecated
public final class X500AttributePrincipalDecoder
extends Object
implements PrincipalDecoder
Deprecated.
A principal decoder which decodes an attribute from an X.500 principal.
- Author:
- David M. Lloyd
-
Field Summary
Fields inherited from interface org.wildfly.security.auth.server.PrincipalDecoder
DEFAULT, UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, boolean reverse) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, int maximumSegments) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, int maximumSegments, boolean reverse) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, int startSegment, int maximumSegments) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, int startSegment, int maximumSegments, boolean reverse) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, String joiner) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, String joiner, boolean reverse) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, String joiner, int maximumSegments) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, String joiner, int startSegment, int maximumSegments, boolean reverse) Deprecated.Construct a new instance.X500AttributePrincipalDecoder(String oid, String joiner, int startSegment, int maximumSegments, boolean reverse, boolean convert, String... requiredOids) Deprecated.Construct a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.security.auth.server.PrincipalDecoder
apply, asPrincipalRewriter, withRewriter
-
Constructor Details
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance. A joining string of "." is assumed.- Parameters:
oid- the OID of the attribute to map
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance. A joining string of "." is assumed.- Parameters:
oid- the OID of the attribute to mapreverse-trueif the attribute values should be processed and returned in reverse order
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance. A joining string of "." is assumed.- Parameters:
oid- the OID of the attribute to mapmaximumSegments- the maximum number of occurrences of the attribute to map
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance. A joining string of "." is assumed.- Parameters:
oid- the OID of the attribute to mapmaximumSegments- the maximum number of occurrences of the attribute to mapreverse-trueif the attribute values should be processed and returned in reverse order
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance. A joining string of "." is assumed.- Parameters:
oid- the OID of the attribute to mapstartSegment- the 0-based starting occurrence of the attribute to mapmaximumSegments- 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 mapstartSegment- the 0-based starting occurrence of the attribute to mapmaximumSegments- the maximum number of occurrences of the attribute to mapreverse-trueif the attribute values should be processed and returned in reverse order
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance.- Parameters:
oid- the OID of the attribute to mapjoiner- the joining string
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance.- Parameters:
oid- the OID of the attribute to mapjoiner- the joining stringreverse-trueif the attribute values should be processed and returned in reverse order
-
X500AttributePrincipalDecoder
Deprecated.Construct a new instance.- Parameters:
oid- the OID of the attribute to mapjoiner- the joining stringmaximumSegments- 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 mapjoiner- the joining stringstartSegment- the 0-based starting occurrence of the attribute to mapmaximumSegments- the maximum number of occurrences of the attribute to mapreverse-trueif 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 mapjoiner- the joining stringstartSegment- the 0-based starting occurrence of the attribute to mapmaximumSegments- the maximum number of occurrences of the attribute to mapreverse-trueif the attribute values should be processed and returned in reverse orderconvert-trueif the Principal should be converted toX500Principalif not one alreadyrequiredOids- the OIDs of the attributes that must be present
-
-
Method Details
-
getName
Deprecated.- Specified by:
getNamein interfacePrincipalDecoder
-
org.wildfly.security.x500.principal.X500AttributePrincipalDecoderinstead