|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.selfservice.domain.CoinUser
public class CoinUser
Simple conext user
| Constructor Summary | |
|---|---|
CoinUser()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(String key,
List<String> value)
|
void |
addAuthority(CoinAuthority grantedAuthority)
|
void |
addInstitutionIdp(nl.surfnet.coin.csa.model.InstitutionIdentityProvider idp)
|
Map<String,List<String>> |
getAttributeMap()
Map of user attributes, key as String, value Object |
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities()
Returns a collection that will contain CoinAuthority's
|
List<CoinAuthority.Authority> |
getAuthorityEnums()
|
String |
getDisplayName()
Display name, e.g. |
String |
getEmail()
|
nl.surfnet.coin.csa.model.InstitutionIdentityProvider |
getIdp()
Identifier of the IdentityProvider the user has logged in with |
String |
getInstitutionId()
Identifier of the institution the IdentityProvider of the user belongs to. |
List<nl.surfnet.coin.csa.model.InstitutionIdentityProvider> |
getInstitutionIdps()
List of InstitutionIdentityProvider's of the institution for this users. |
String |
getPassword()
It is not allowed to call this method |
String |
getSchacHomeOrganization()
|
String |
getUid()
Unique identifier of the user, e.g. |
String |
getUsername()
Same value as getUid()
|
void |
hasAuthority(CoinAuthority.Authority grantedAuthority)
|
boolean |
isAccountNonExpired()
|
boolean |
isAccountNonLocked()
|
boolean |
isCredentialsNonExpired()
|
boolean |
isEnabled()
|
void |
setAttributeMap(Map<String,List<String>> attributeMap)
|
void |
setAuthorities(Set<CoinAuthority> grantedAuthorities)
|
void |
setDisplayName(String displayName)
|
void |
setEmail(String email)
|
void |
setIdp(nl.surfnet.coin.csa.model.InstitutionIdentityProvider idp)
|
void |
setInstitutionId(String institutionId)
|
void |
setSchacHomeOrganization(String schacHomeOrganization)
|
void |
setUid(String uid)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CoinUser()
| Method Detail |
|---|
public String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailspublic String getUsername()
getUid()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.springframework.security.core.userdetails.UserDetailspublic String getUid()
public void setUid(String uid)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getSchacHomeOrganization()
public void setSchacHomeOrganization(String schacHomeOrganization)
public String getEmail()
public void setEmail(String email)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
CoinAuthority's
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic void setAuthorities(Set<CoinAuthority> grantedAuthorities)
public void addAuthority(CoinAuthority grantedAuthority)
public void hasAuthority(CoinAuthority.Authority grantedAuthority)
public List<nl.surfnet.coin.csa.model.InstitutionIdentityProvider> getInstitutionIdps()
InstitutionIdentityProvider's of the institution for this users.
Usually contains only the IdP the user logs in with.
InstitutionIdentityProvider'spublic void addInstitutionIdp(nl.surfnet.coin.csa.model.InstitutionIdentityProvider idp)
public String getInstitutionId()
public void setInstitutionId(String institutionId)
public nl.surfnet.coin.csa.model.InstitutionIdentityProvider getIdp()
public void setIdp(nl.surfnet.coin.csa.model.InstitutionIdentityProvider idp)
public Map<String,List<String>> getAttributeMap()
public void setAttributeMap(Map<String,List<String>> attributeMap)
public void addAttribute(String key,
List<String> value)
public List<CoinAuthority.Authority> getAuthorityEnums()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||