Examples of TokenBasedAuthenticatorStub


Examples of org.wso2.carbon.identity.authenticator.token.stub.types.TokenBasedAuthenticatorStub

    private static final Log log = LogFactory.getLog(TokenAuthenticatorClient.class);

    public TokenAuthenticatorClient(ConfigurationContext ctx, String serverURL, String cookie,
            HttpSession session) throws Exception {
        String serviceEPR = serverURL + "TokenBasedAuthenticator";
        stub = new TokenBasedAuthenticatorStub(ctx, serviceEPR);
        ServiceClient client = stub._getServiceClient();
        Options options = client.getOptions();
        options.setManageSession(true);
        if (cookie != null) {
            options.setProperty(HTTPConstants.COOKIE_STRING, cookie);
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.