|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.p13n.security.management.SecurityMgmtHelper
public class SecurityMgmtHelper
Provides helper methods for accessing security management classes, especially those used to manage SSPI providers.
| Constructor Summary | |
|---|---|
SecurityMgmtHelper() |
|
| Method Summary | |
|---|---|
static AuthorizerDescription |
findAuthorizationProviderByName(String aDisplayName)Returns the configured SSPI authorizer with a matching display name. |
static AuthorizerDescription |
findAuthorizationProviderByUniqueName(String aUniqueId)Returns the configured SSPI authorization provider with a matching unique id which is the concatenation of display name and version number. |
static RoleProviderDescription |
findRoleProviderByName(String aDisplayName)Returns the configured SSPI authentication provider with a matching display name. |
static RoleProviderDescription |
findRoleProviderByUniqueName(String aUniqueId)Returns the configured SSPI authentication provider with a matching unique id which is the concatenation of display name and version number. |
static List<AuthorizerDescription> |
getAuthorizationProviders()Returns the list of currently configured SSPI Authorization providers |
static AuthorizerDescription |
getDefaultAuthorizationProvider()Finds and returns an AuthorizerDescription based on the first instance of a deployed AuthorizerMBean (or the first AuthorizerMBean, if none was found.) |
static RoleProviderDescription |
getDefaultRoleProvider()Returns the default configured SSPI authentication provider. |
static String |
getProviderUniqueName(String aDisplayName, String aVersion)Returns unique id of the provider which is the concatenation of display name and version number. |
static List<RoleProviderDescription> |
getRoleProviders()Returns the list of currently configured SSPI role providers. |
static boolean |
isMultiAuthorizersMode()Returns an indication of whether multiple authorization providers have been configured. |
static boolean |
isMultiRoleProviderMode()Returns an indication of whether multiple authentication providers have been configured. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityMgmtHelper()
| Method Detail |
|---|
public static List<RoleProviderDescription> getRoleProviders()
throws ProviderMgmtException
ProviderMgmtException
public static RoleProviderDescription getDefaultRoleProvider()
throws ProviderMgmtException
ProviderMgmtException
public static RoleProviderDescription findRoleProviderByName(String aDisplayName)
throws ProviderMgmtException
aDisplayName - The name entered at the WLS console when creating a new authentication provider.ProviderMgmtException
public static RoleProviderDescription findRoleProviderByUniqueName(String aUniqueId)
throws ProviderMgmtException
aUniqueId - Concatenation of display name and version numberProviderMgmtException
public static String getProviderUniqueName(String aDisplayName,
String aVersion)
aDisplayName - The provider nameaVersion - The provider versionpublic static boolean isMultiRoleProviderMode()
public static List<AuthorizerDescription> getAuthorizationProviders()
throws ProviderMgmtException
ProviderMgmtException
public static AuthorizerDescription getDefaultAuthorizationProvider()
throws ProviderMgmtException
ProviderMgmtException
public static AuthorizerDescription findAuthorizationProviderByName(String aDisplayName)
throws ProviderMgmtException
aDisplayName - The name entered at the WLS console when creating a new authorization provider.ProviderMgmtException
public static AuthorizerDescription findAuthorizationProviderByUniqueName(String aUniqueId)
throws ProviderMgmtException
aUniqueId - Concatenation of display name and version numberProviderMgmtExceptionpublic static boolean isMultiAuthorizersMode()
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.