hudson.plugins.openid
Class Identity
java.lang.Object
hudson.plugins.openid.Identity
public class Identity
- extends java.lang.Object
Represents an identity information given by the OpenID provider.
- Author:
- Kohsuke Kawaguchi
|
Constructor Summary |
Identity(org.openid4java.message.AuthSuccess authSuccess)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Identity
public Identity(org.openid4java.message.AuthSuccess authSuccess)
throws org.openid4java.OpenIDException
- Throws:
org.openid4java.OpenIDException
getOpenId
public java.lang.String getOpenId()
getNick
public java.lang.String getNick()
setNick
public void setNick(java.lang.String nick)
getEffectiveNick
public java.lang.String getEffectiveNick()
- Obtains the token suitable as the user ID.
getFullName
public java.lang.String getFullName()
setFullName
public void setFullName(java.lang.String fullName)
getEmail
public java.lang.String getEmail()
setEmail
public void setEmail(java.lang.String email)
getGrantedAuthorities
public java.util.List<org.acegisecurity.GrantedAuthority> getGrantedAuthorities()
getProperties
public com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> getProperties()
updateProfile
public void updateProfile(hudson.model.User u)
throws java.io.IOException
- Updates the user information on Hudson based on the information in this identity.
- Throws:
java.io.IOException
Copyright © 2004-2012. All Rights Reserved.