public class AuthnDataPublisherUtils extends Object
| Constructor and Description |
|---|
AuthnDataPublisherUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
hashString(String value)
Hash given string using sha-256
|
static String |
replaceIfNotAvailable(String name,
String value)
Add default values if the values coming in are null or empty
|
public static String replaceIfNotAvailable(String name, String value)
name - Name of the property configured in identity.xmlvalue - In coming valuepublic static String hashString(String value) throws NoSuchAlgorithmException
value - string to be hashedNoSuchAlgorithmExceptionCopyright © 2016 WSO2. All rights reserved.