public class AuthnSvcUtils extends Object
AuthnSvcUtils
provides some utils for Authentication
service related stuff.Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
bundle
ResourceBundle object for this service. |
static Debug |
debug
Debug object for this service. |
Constructor and Description |
---|
AuthnSvcUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decodeDataElement(Element dataE)
Decodes the value of a Data Element.
|
static String |
getString(String key)
Returns localized string from resource bundle.
|
static boolean |
setResourceOfferingAndCredentials(SASLResponse saslResp,
Message message,
String userDN)
Sets resource offering and credentials to the SASL response based on
provided sso token.
|
public static ResourceBundle bundle
ResourceBundle
object for this service.public static Debug debug
Debug
object for this service.public static String getString(String key)
key
- a key to a resource bundle.public static byte[] decodeDataElement(Element dataE)
dataE
- a Data elementpublic static boolean setResourceOfferingAndCredentials(SASLResponse saslResp, Message message, String userDN)
saslResp
- a SASL responsemessage
- a SOAP message containing a SASL requestuserDN
- Distinguished Name of the User.true
if it sets correctlyCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.