Examples of UniqueTypeValidationStepHandler


Examples of org.wildfly.extension.picketlink.common.model.validator.UniqueTypeValidationStepHandler

        addChildResourceDefinition(LDAPStoreAttributeResourceDefinition.INSTANCE, resourceRegistration);
    }

    private static ModelValidationStepHandler[] getModelValidators() {
        return new ModelValidationStepHandler[] {
            new UniqueTypeValidationStepHandler(ModelElement.LDAP_STORE_MAPPING) {
                @Override
                protected String getType(OperationContext context, ModelNode model) throws OperationFailedException {
                    return getMappingType(context, model);
                }
            }
View Full Code Here

Examples of org.wildfly.extension.picketlink.common.model.validator.UniqueTypeValidationStepHandler

            getModelValidators(), attributes), attributes);
    }

    private static ModelValidationStepHandler[] getModelValidators() {
        return new ModelValidationStepHandler[] {
            new UniqueTypeValidationStepHandler(ModelElement.IDENTITY_STORE_CREDENTIAL_HANDLER) {
                @Override
                protected String getType(OperationContext context, ModelNode model) throws OperationFailedException {
                    return getCredentialType(context, model);
                }
            }
View Full Code Here

Examples of org.wildfly.extension.picketlink.common.model.validator.UniqueTypeValidationStepHandler

            getModelValidators(), attributes), attributes);
    }

    private static ModelValidationStepHandler[] getModelValidators() {
        return new ModelValidationStepHandler[] {
            new UniqueTypeValidationStepHandler(ModelElement.SUPPORTED_TYPE) {
                @Override
                protected String getType(OperationContext context, ModelNode model) throws OperationFailedException {
                    return getSupportedType(context, model);
                }
            }
View Full Code Here

Examples of org.wildfly.extension.picketlink.common.model.validator.UniqueTypeValidationStepHandler

        addChildResourceDefinition(HandlerParameterResourceDefinition.INSTANCE, resourceRegistration);
    }

    @Override
    protected void doRegisterModelWriteAttributeHandler(OperationContext context, ModelNode operation) {
        context.addStep(new UniqueTypeValidationStepHandler(ModelElement.COMMON_HANDLER) {
            @Override
            protected String getType(OperationContext context, ModelNode model) throws OperationFailedException {
                return getHandlerType(context, model);
            }
        }, OperationContext.Stage.MODEL);
View Full Code Here

Examples of org.wildfly.extension.picketlink.common.model.validator.UniqueTypeValidationStepHandler

    @Override
    public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
        context.addStep(new AlternativeAttributeValidationStepHandler(new SimpleAttributeDefinition[] {
            HandlerResourceDefinition.CLASS_NAME, HandlerResourceDefinition.CODE
        }), OperationContext.Stage.MODEL);
        context.addStep(new UniqueTypeValidationStepHandler(ModelElement.COMMON_HANDLER) {
            @Override
            protected String getType(OperationContext context, ModelNode model) throws OperationFailedException {
                return getHandlerType(context, model);
            }
        }, OperationContext.Stage.MODEL);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.