Package com.ongres.scram.common.gssapi
Class Gs2AttributeValue
java.lang.Object
com.ongres.scram.common.util.AbstractStringWritable
com.ongres.scram.common.util.AbstractCharAttributeValue
com.ongres.scram.common.gssapi.Gs2AttributeValue
- All Implemented Interfaces:
CharAttribute,CharAttributeValue,StringWritable
Parse and write GS2 Attribute-Value pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Gs2AttributeValueParses a potential Gs2AttributeValue String.static StringBufferwriteTo(StringBuffer sb, Gs2Attributes attribute, String value) Methods inherited from class com.ongres.scram.common.util.AbstractCharAttributeValue
getChar, getValue, writeToMethods inherited from class com.ongres.scram.common.util.AbstractStringWritable
toString
-
Constructor Details
-
Gs2AttributeValue
-
-
Method Details
-
writeTo
-
parse
Parses a potential Gs2AttributeValue String.- Parameters:
value- The string that contains the Attribute-Value pair (where value is optional).- Returns:
- The parsed class, or null if the String was null.
- Throws:
IllegalArgumentException- If the String is an invalid Gs2AttributeValue
-