Package org.globus.wsrf.impl.security.descriptor

Examples of org.globus.wsrf.impl.security.descriptor.ClientSecurityDescriptor


        if (authz == null) {
            throw new ParameterProblem(
                    "service-authorization mechanism is not specified");
        }

        final ClientSecurityDescriptor desc = new ClientSecurityDescriptor();

        if (mech.equals(Constants.GSI_SEC_MSG)) {
            desc.setGSISecureMsg((Integer)protection);
        } else if (mech.equals(Constants.GSI_SEC_CONV)) {
            desc.setGSISecureConv((Integer)protection);
        } else if (mech.equals(Constants.GSI_TRANSPORT)) {
            desc.setGSITransport((Integer)protection);
            Util.registerTransport();
        }

        desc.setAuthz(authz);

        return desc;
    }
View Full Code Here


    private void delegate() throws Exception {

        final GlobusCredential credential =
                GlobusCredential.getDefaultCredential();

        final ClientSecurityDescriptor csd =
                WSUtils.getClientSecDesc(this.d.delegationSecMechanism,
                                         this.d.delegationProtection,
                                         this.d.delegationAuthorization);

        final EndpointReferenceType delegEpr = AddressingUtils.
View Full Code Here

TOP

Related Classes of org.globus.wsrf.impl.security.descriptor.ClientSecurityDescriptor

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.