java.lang.Object
com.thetransactioncompany.jsonrpc2.server.MessageContext.BasicPrincipal
- All Implemented Interfaces:
Principal
- Enclosing class:
MessageContext
Field Summary
Constructor Summary
ConstructorsMethod Summary
All Methods
Field Details
name
The principal name.
Constructor Details
BasicPrincipal
Creates a new principal.- Parameters:
name- The principal name, must not benullor empty string.- Throws:
IllegalArgumentException- On anullor empty principal name.
Method Details
equals
hashCode
getName