|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.jboss.extension.resources.components.AbstractComponent de.smartics.properties.jboss.extension.resources.components.SecurityComponent
public final class SecurityComponent
Defines the security information of a configuration. This information allows to encrypt and decrypt property values.
Example XML fragment of a security element within a configuration:
Security Element
<security> <algorithm>AES</algorithm> <transformation>AES/ECB/PKCS5Padding</transformation> <!-- provider / --> <key>+pvrmeQCmtWmYVOZ57uuIQ==</key> </security>
Field Summary | |
---|---|
static org.jboss.as.controller.SimpleAttributeDefinition |
ALGORITHM The attribute that holds the security algorithm. |
static org.jboss.as.controller.SimpleAttributeDefinition |
KEY The attribute that holds the security key. |
static org.jboss.as.controller.SimpleAttributeDefinition |
PROVIDER The attribute that holds the security provider. |
static String |
ROOT_ELEMENT_NAME The name of the configuration XML element that holds the security information. |
static org.jboss.as.controller.SimpleAttributeDefinition |
TRANSFORMATION The attribute that holds the security transformation. |
Fields inherited from class de.smartics.properties.jboss.extension.resources.components.AbstractComponent |
---|
writeHandler |
Constructor Summary | |
---|---|
SecurityComponent(org.jboss.as.controller.OperationStepHandler writeHandler) Default constructor. |
Method Summary | |
---|---|
void |
apply(de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig, org.jboss.dmr.ModelNode model) |
void |
populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) |
void |
read(org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode addOperation) |
void |
registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration) |
void |
write(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode config) |
Methods inherited from class de.smartics.properties.jboss.extension.resources.components.AbstractComponent |
---|
getAttribute, isAtLeastOneDefined, normalize, readAttribute, writeAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ROOT_ELEMENT_NAME
The value of this constant is "security".
"security"
public static final org.jboss.as.controller.SimpleAttributeDefinition ALGORITHM
public static final org.jboss.as.controller.SimpleAttributeDefinition TRANSFORMATION
public static final org.jboss.as.controller.SimpleAttributeDefinition PROVIDER
public static final org.jboss.as.controller.SimpleAttributeDefinition KEY
Constructor Detail |
---|
public SecurityComponent(org.jboss.as.controller.OperationStepHandler writeHandler)
Method Detail |
---|
public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)
public void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
public void read(org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode addOperation) throws XMLStreamException
XMLStreamException
public void write(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode config) throws XMLStreamException
XMLStreamException
public void apply(de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig, org.jboss.dmr.ModelNode model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |