org.sakaiproject.hybrid.util
Class NakamuraAuthenticationHelper.AuthInfo
java.lang.Object
org.sakaiproject.hybrid.util.NakamuraAuthenticationHelper.AuthInfo
- Enclosing class:
- NakamuraAuthenticationHelper
public static class NakamuraAuthenticationHelper.AuthInfo
- extends Object
Static final class for storing cached results from Nakamura lookup.
Generally the caller should expect raw results from the JSON parsing
(e.g. principal could in theory be null).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NakamuraAuthenticationHelper.AuthInfo
protected NakamuraAuthenticationHelper.AuthInfo(String json)
- Parameters:
json - The JSON returned from nakamura.
getFirstName
public String getFirstName()
- Returns:
- the givenName
getLastName
public String getLastName()
- Returns:
- the familyName
getEmailAddress
public String getEmailAddress()
- Returns:
- the emailAddress
getPrincipal
public String getPrincipal()
- Returns:
- the principal
Copyright © 2009-2012 The Sakai Foundation. All Rights Reserved.