Package com.sun.identity.sm
Class OrgConfigViaAMSDK
- java.lang.Object
-
- com.sun.identity.sm.OrgConfigViaAMSDK
-
public class OrgConfigViaAMSDK extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static voidclearCache()Clears the cachestatic StringgetAmsdkdn(SSOToken token, com.sun.identity.sm.OrganizationConfigManagerImpl ocm)static StringgetRealmForAMSDK(String amsdkdn, String inrealm)Returns the realm name that contains the AMSDK plugin with the given organization dn.SetgetSDKAttributeValue(String key)static booleanisAMSDKConfigured(String realm)Returns the true if AMSDK plugin is configured for the realm, else returns false.protected static voidupdateAMSDKConfiguredRealms(String realm, boolean configured)
-
-
-
Method Detail
-
clearCache
protected static void clearCache()
Clears the cache
-
updateAMSDKConfiguredRealms
protected static void updateAMSDKConfiguredRealms(String realm, boolean configured)
-
isAMSDKConfigured
public static boolean isAMSDKConfigured(String realm)
Returns the true if AMSDK plugin is configured for the realm, else returns false.
-
getRealmForAMSDK
public static String getRealmForAMSDK(String amsdkdn, String inrealm)
Returns the realm name that contains the AMSDK plugin with the given organization dn. The function optionally takes "inrealm" the realm, where the initial search would be done If not found, returns null.
-
getAmsdkdn
public static String getAmsdkdn(SSOToken token, com.sun.identity.sm.OrganizationConfigManagerImpl ocm) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
-