Class Identity

java.lang.Object
hudson.plugins.openid.Identity

public class Identity extends Object
Represents an identity information given by the OpenID provider.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • Identity

      public Identity(org.openid4java.message.AuthSuccess authSuccess) throws org.openid4java.OpenIDException
      Throws:
      org.openid4java.OpenIDException
  • Method Details

    • getOpenId

      public String getOpenId()
    • getNick

      public String getNick()
    • setNick

      public void setNick(String nick)
    • getEffectiveNick

      public String getEffectiveNick()
      Obtains the token suitable as the user ID.
    • getFullName

      public String getFullName()
    • setFullName

      public void setFullName(String fullName)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getGrantedAuthorities

      public List<GrantedAuthority> getGrantedAuthorities()
    • getProperties

      public com.google.common.collect.ListMultimap<String,String> getProperties()
    • updateProfile

      public void updateProfile(User u) throws IOException
      Updates the user information on Hudson based on the information in this identity.
      Throws:
      IOException