public class PortableAuthConfigProvider
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTH_MODULE_CLASS_NAME |
Constructor and Description |
---|
PortableAuthConfigProvider(java.lang.String name, java.lang.String authLayer, java.lang.String providerType, PortableMap props, PortablePropertySet[] authModules)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
static PortableAuthConfigProvider |
from(javax.management.openmbean.CompositeData cd)
Creates an instance of the model specific class out of an associated CompositeData instance.
|
java.lang.String |
getAuthLayer()
Returns the message layer.
|
PortablePropertySet[] |
getAuthModules()
return the auth modules.
|
java.lang.String |
getName()
Returns the name of the auth config provider.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the properties of the auth config provider.
|
java.lang.String |
getProviderType()
Return the type of the auth config provider.
|
int |
hashCode() |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Converts an instance of this model specific type to a CompositeData.
|
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model specific class.
|
java.lang.String |
toString() |
public static final java.lang.String AUTH_MODULE_CLASS_NAME
@ConstructorProperties(value={"name","authLayer","providerType","props","authModules"}) public PortableAuthConfigProvider(java.lang.String name, java.lang.String authLayer, java.lang.String providerType, PortableMap props, PortablePropertySet[] authModules)
name
- the name of the auth config providerauthLayer
- the message layerproviderType
- the type of the auth config providerprops
- the additional properties of the auth config providerauthModules
- the auth modulespublic java.lang.String getName()
public java.lang.String getAuthLayer()
public java.lang.String getProviderType()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public PortablePropertySet[] getAuthModules()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static PortableAuthConfigProvider from(javax.management.openmbean.CompositeData cd)
cd
- Composite Data which has information regarding the object