Class UserSpec
java.lang.Object
io.strimzi.kafka.oauth.server.authorizer.UserSpec
A class used to hold parsed superusers specs
-
Method Summary
-
Method Details
-
getType
Get the type- Returns:
- The type as a string
-
getName
Get the name- Returns:
- The name
-
of
Factory method to parse aUserSpecinstance from a string- Parameters:
principal- A principal as a string- Returns:
- A new UserSpec instance
-
equals
-
hashCode
public int hashCode() -
toString
-