public class UserMapping extends Object
Constructor and Description |
---|
UserMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addAuthorization(Authorization authorization)
Adds the given authorization to the user mapping.
|
Authorization |
getAuthorization(String username)
Returns the authorization corresponding to the user having the given
username, if any.
|
public void addAuthorization(Authorization authorization)
authorization
- The authorization to add to the user mapping.public Authorization getAuthorization(String username)
username
- The username to find the authorization for.Copyright © 2015. All rights reserved.