Examples of CallSecurity


Examples of com.betfair.baseline.v2.to.CallSecurity

  }

    @Override
    public CallSecurity checkSecurity(RequestContext ctx, TimeConstraints timeConstraints) {
        ctx.setRequestLogExtension(new BaselineLogExtension("", null, null));
        CallSecurity ret = new CallSecurity();
        for (Identity id : ctx.getIdentity().getIdentities()) {
            if (id.getPrincipal().getName().contains(SSLAwareTokenResolver.SSL_CERT_INFO)) {
                ret.setClientSubject(id.getCredential().getValue().toString());
            }
        }
        ret.setSecurityStrengthFactor(ctx.getTransportSecurityStrengthFactor());
        return ret;
    }
View Full Code Here

Examples of com.betfair.baseline.v2.to.CallSecurity

  }

    @Override
    public CallSecurity checkSecurity(RequestContext ctx, TimeConstraints timeConstraints) {
        ctx.setRequestLogExtension(new BaselineLogExtension("", null, null));
        CallSecurity ret = new CallSecurity();
        for (Identity id : ctx.getIdentity().getIdentities()) {
            if (id.getPrincipal().getName().contains(SSLAwareTokenResolver.SSL_CERT_INFO)) {
                ret.setClientSubject(id.getCredential().getValue().toString());
            }
        }
        ret.setSecurityStrengthFactor(ctx.getTransportSecurityStrengthFactor());
        return ret;
    }
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.