public class Misc extends Object
Constructor and Description |
---|
Misc() |
Modifier and Type | Method and Description |
---|---|
static String |
canonicalize(String dn)
Returns a canonicalized form of the DN String
|
static int |
getIntMapAttr(Map m,
String name,
int defaultValue,
Debug debug)
Deprecated.
As of OpenSSO version 8.0
CollectionHelper.getIntMapAttr(Map, String, int, Debug) |
static int |
getIntMapAttr(Map m,
String name,
String defaultValue,
Debug debug)
Deprecated.
As of OpenSSO version 8.0
com.sun.identity.shared.datastruct.CollectionHelper#getIntMapAttr(Map, String, String, Debug) |
static String |
getMapAttr(Map m,
String name)
Deprecated.
As of OpenSSO version 8.0
CollectionHelper.getMapAttr(Map, String) |
static String |
getMapAttr(Map m,
String name,
String defaultValue)
Deprecated.
As of OpenSSO version 8.0
CollectionHelper.getMapAttr(Map, String, String) |
static String |
getServerMapAttr(Map m,
String attrName)
Deprecated.
As of OpenSSO version 8.0
CollectionHelper.getServerMapAttr(Map, String) |
public static String getMapAttr(Map m, String name)
CollectionHelper.getMapAttr(Map, String)
public static String getMapAttr(Map m, String name, String defaultValue)
CollectionHelper.getMapAttr(Map, String, String)
public static int getIntMapAttr(Map m, String name, String defaultValue, Debug debug) throws NumberFormatException
com.sun.identity.shared.datastruct.CollectionHelper#getIntMapAttr(Map, String, String, Debug)
m
- Map, key is attribute name, value is String Set which contains
all the values for the attributename
- Attribute namedefaultValue
- default value for the attributedebug
- DebugNumberFormatException
- when fails to parse the defaultValue argument as a signed
decimal integer for returnpublic static int getIntMapAttr(Map m, String name, int defaultValue, Debug debug)
CollectionHelper.getIntMapAttr(Map, String, int, Debug)
m
- Map, key is attribute name, value is String Set which contains
all the values for the attributename
- Attribute namedefaultValue
- default value for the attributedebug
- Debugpublic static String getServerMapAttr(Map m, String attrName)
CollectionHelper.getServerMapAttr(Map, String)
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.