Package org.jboss.as.webservices.metadata

Examples of org.jboss.as.webservices.metadata.WebServiceDeclaration


        final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
        String securityDomain = null;
        final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();

        while (ejbContainers.hasNext()) {
            final WebServiceDeclaration ejbContainer = ejbContainers.next();
            //final SecurityDomain nextSecurityDomain = ejbContainer.getAnnotation(SecurityDomain.class);
            final AnnotationInstance nextSecurityDomain = ejbContainer.getAnnotation(SECURITY_DOMAIN_DOT_NAME);

            securityDomain = getDomain(securityDomain, nextSecurityDomain);
        }

        // return super.appendJaasPrefix(securityDomain); TODO: properly removed?
View Full Code Here


        final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
        final SecurityRolesMetaData securityRolesMD = new SecurityRolesMetaData();
        final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();

        while (ejbContainers.hasNext()) {
            final WebServiceDeclaration ejbContainer = ejbContainers.next();
            //final RolesAllowed allowedRoles = ejbContainer.getAnnotation(RolesAllowed.class);
            final AnnotationInstance allowedRoles = ejbContainer.getAnnotation(ROLES_ALLOWED_DOT_NAME);
            final boolean hasAllowedRoles = allowedRoles != null;

            if (hasAllowedRoles) {
                for (final String roleName : allowedRoles.value().asStringArray()) {
                    final SecurityRoleMetaData securityRoleMD = new SecurityRoleMetaData();
View Full Code Here

TOP

Related Classes of org.jboss.as.webservices.metadata.WebServiceDeclaration

Copyright © 2018 www.massapicom. 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.