public final class AtlassianHostUser extends Object
User and can be resolved as a
controller argument by using the AuthenticationPrincipal annotation.| Modifier | Constructor and Description |
|---|---|
protected |
AtlassianHostUser() |
|
AtlassianHostUser(AtlassianHost host,
Optional<String> optionalUserKey)
Creates a new Atlassian host principal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AtlassianHost |
getHost()
Returns the host from which the request originated.
|
Optional<String> |
getUserKey()
The the key of the user on whose behalf a request was made.
|
int |
hashCode() |
protected AtlassianHostUser()
public AtlassianHostUser(AtlassianHost host, Optional<String> optionalUserKey)
host - the host from which the request originatedoptionalUserKey - the key of the user on whose behalf a request was made (optional)public AtlassianHost getHost()
public Optional<String> getUserKey()
Copyright © 2017 Atlassian. All rights reserved.