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
Role s for this ApplicationSubject . |
String |
getTimeZone()
Returns the timezone for this
Account , e.g. |
public String getAuthName()
Account
Account
, e.g. 'admin'.getAuthName
in interface Account
public String getRealname()
Account
Account
, e.g. 'appNG Administrator'.getRealname
in interface Account
public String getLanguage()
Account
Account
in the IETF BCP
47 notation: <lang>-<country>
.getLanguage
in interface Account
Locale.forLanguageTag(String)
public String getTimeZone()
Account
Account
, e.g. 'Europe/Berlin'.getTimeZone
in interface Account
public String getEmail()
Account
Account
, e.g. 'admin@example.com'.public List<Role> getRoles()
ApplicationSubject
Role
s for this ApplicationSubject
.getRoles
in interface ApplicationSubject
Role
s for this ApplicationSubject
Copyright © 2011–2017 aiticon GmbH. All rights reserved.