public class XingLoginUtil extends Object
Constructor and Description |
---|
XingLoginUtil() |
Modifier and Type | Method and Description |
---|---|
static org.apache.sling.auth.xing.api.XingUser |
fromJson(String json) |
static String |
getHash(javax.jcr.Credentials credentials) |
static String |
getUser(javax.jcr.Credentials credentials) |
static String |
hash(String json,
String secretKey,
String hashAlgorithm) |
public static String getHash(javax.jcr.Credentials credentials)
public static String getUser(javax.jcr.Credentials credentials)
public static org.apache.sling.auth.xing.api.XingUser fromJson(String json)
public static String hash(String json, String secretKey, String hashAlgorithm) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.