Constructor and Description |
---|
ScpCfUser(String name,
Locale locale,
Collection<Scope> authorizations,
Map<String,? extends UserAttribute> attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.common.base.Optional<UserAttribute> |
getAttribute(String name) |
Map<String,UserAttribute> |
getAttributes() |
Set<Authorization> |
getAuthorizations() |
com.google.common.base.Optional<Locale> |
getLocale() |
String |
getName() |
boolean |
hasAuthorization(Authorization authorization)
Checks whether the user has the given authorization.
|
int |
hashCode() |
String |
toString() |
public ScpCfUser(String name, @Nullable Locale locale, @Nullable Collection<Scope> authorizations, @Nullable Map<String,? extends UserAttribute> attributes)
public com.google.common.base.Optional<Locale> getLocale()
public boolean hasAuthorization(Authorization authorization)
User
hasAuthorization
in interface User
public Set<Authorization> getAuthorizations()
getAuthorizations
in interface User
public com.google.common.base.Optional<UserAttribute> getAttribute(String name)
getAttribute
in interface User
@Generated(value="lombok") public String getName()
@Generated(value="lombok") public Map<String,UserAttribute> getAttributes()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2017 SAP SE. All rights reserved.