public class ADFSecurityUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOGGER_COMPONENT_NAME |
Constructor and Description |
---|
ADFSecurityUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkNotNull(java.lang.String className,
java.lang.String methodName,
java.lang.String name,
java.lang.Object obj) |
static boolean |
checkSerializable(java.lang.Object obj) |
static ADFLogger |
getADFLogger() |
static java.lang.String |
getApplicationName()
Internal: Applications should not use this class.
|
static java.lang.String |
getIdentityManagementProviderClassName()
Internal: Applications should not use this class.
|
static java.lang.String |
getMessage(java.lang.String msgKey) |
static java.lang.String |
getMessage(java.lang.String msgKey,
java.lang.Object[] params) |
static java.lang.String |
getNamespacePrefix()
Internal: Applications should not use this class.
|
static java.lang.String |
getSecurityNamespace()
Internal: Applications should not use this class.
|
static boolean |
hasAnyoneRole(javax.security.auth.Subject subject)
Internal: Applications should not use this class.
|
static boolean |
hasIdentityManagementSupport(SecurityContext secCtx)
Deprecated.
|
static boolean |
isAuthenticationRequired()
Internal: Applications should not use this class.
|
static boolean |
isAuthorizationEnabled()
Internal: Applications should not use this class.
|
static boolean |
isPermissionCacheEnable()
Internal: Applications should not use
this class.
|
static boolean |
isSecurity1013Mode()
Internal: Applications should not use this
method.
|
static boolean |
isSSO()
Internal: Applications should not use this
method.
|
static boolean |
isWildcardEnable()
Internal: Applications should not use
this class.
|
static boolean |
isXSMode()
Internal: Applications should not use this class.
|
public static final java.lang.String LOGGER_COMPONENT_NAME
public static ADFLogger getADFLogger()
public static java.lang.String getMessage(java.lang.String msgKey)
msgKey
- Message Key for the Bundlepublic static java.lang.String getMessage(java.lang.String msgKey, java.lang.Object[] params)
msgKey
- Message Key for the Bundleparams
- Parameters for the messagepublic static boolean hasAnyoneRole(javax.security.auth.Subject subject)
public static java.lang.String getApplicationName()
public static boolean isXSMode()
public static boolean isAuthorizationEnabled()
public static boolean isAuthenticationRequired()
public static boolean isSecurity1013Mode()
public static java.lang.String getIdentityManagementProviderClassName()
public static void checkNotNull(java.lang.String className, java.lang.String methodName, java.lang.String name, java.lang.Object obj) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static java.lang.String getSecurityNamespace()
public static java.lang.String getNamespacePrefix()
public static boolean checkSerializable(java.lang.Object obj)
public static boolean isWildcardEnable()
public static boolean isPermissionCacheEnable()
public static boolean isSSO()
@Deprecated public static boolean hasIdentityManagementSupport(SecurityContext secCtx)