Record Class OIDCSupport.JWTStringArray
java.lang.Object
java.lang.Record
org.apache.activemq.artemis.spi.core.security.jaas.oidc.OIDCSupport.JWTStringArray
- Record Components:
value- value extracted from JWT. Strings are converted to one-element String arrays. Strings with whitespace characters are first converted to multi-value tokens (but not Strings in actual arrays). Null values are always treated as invalid.valid- whether the JSON path successfully lead to actual value (String or String array)value- an extracted value (can be null)
- Enclosing class:
OIDCSupport
Record for returning values from
OIDCSupport.stringArrayForPath(JWTClaimsSet, String) with indication if the path was correct.-
Constructor Summary
ConstructorsConstructorDescriptionJWTStringArray(String[] value, boolean valid) Creates an instance of aJWTStringArrayrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanvalid()Returns the value of thevalidrecord component.String[]value()Returns the value of thevaluerecord component.
-
Constructor Details
-
JWTStringArray
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
value
-
valid
-