public class ApplicationSubjectImpl extends Object implements ApplicationSubject
ApplicationSubject implementation.| Constructor and Description |
|---|
ApplicationSubjectImpl(String authName,
String realName,
String email,
String language,
String timeZone) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthName()
Returns the username of this
Account, e.g. |
String |
getEmail()
Returns the email for this
Account, e.g. |
String |
getLanguage()
Returns the language tag for this
Account in the IETF BCP
47 notation: <lang>-<country>.Examples: en en-US de de-CH |
String |
getRealname()
Returns the real name of this
Account, e.g. |
List<Role> |
getRoles()
Returns a list of all
Roles for this ApplicationSubject. |
String |
getTimeZone()
Returns the timezone for this
Account, e.g. |
public String getAuthName()
AccountAccount, e.g. 'admin'.getAuthName in interface Accountpublic String getRealname()
AccountAccount, e.g. 'appNG Administrator'.getRealname in interface Accountpublic String getLanguage()
AccountAccount in the IETF BCP
47 notation: <lang>-<country>.getLanguage in interface AccountLocale.forLanguageTag(String)public String getTimeZone()
AccountAccount, e.g. 'Europe/Berlin'.getTimeZone in interface Accountpublic String getEmail()
AccountAccount, e.g. 'admin@example.com'.public List<Role> getRoles()
ApplicationSubjectRoles for this ApplicationSubject.getRoles in interface ApplicationSubjectRoles for this ApplicationSubjectCopyright © 2011–2019 aiticon GmbH. All rights reserved.