public class Identity extends Object
| Constructor and Description |
|---|
Identity(org.openid4java.message.AuthSuccess authSuccess) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEffectiveNick()
Obtains the token suitable as the user ID.
|
String |
getEmail() |
String |
getFullName() |
List<org.acegisecurity.GrantedAuthority> |
getGrantedAuthorities() |
String |
getNick() |
String |
getOpenId() |
com.google.common.collect.ListMultimap<String,String> |
getProperties() |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setNick(String nick) |
void |
updateProfile(hudson.model.User u)
Updates the user information on Hudson based on the information in this identity.
|
public Identity(org.openid4java.message.AuthSuccess authSuccess)
throws org.openid4java.OpenIDException
org.openid4java.OpenIDExceptionpublic String getOpenId()
public String getNick()
public void setNick(String nick)
public String getEffectiveNick()
public String getFullName()
public void setFullName(String fullName)
public String getEmail()
public void setEmail(String email)
public List<org.acegisecurity.GrantedAuthority> getGrantedAuthorities()
public void updateProfile(hudson.model.User u)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.