public String getOpenID(String username) throws AxisFault { try { return stub.getPrimaryOpenID(username); } catch (Exception e) { handleException("Error ouccured while retreiving OpeniD", e); } return null; }
public IdentityProviderClient( String cookie, String backendServerURL, ConfigurationContext configCtx) throws AxisFault { String serviceURL = backendServerURL + "IdentityProviderAdminService"; stub = new IdentityProviderAdminServiceStub(configCtx, serviceURL); ServiceClient client = stub._getServiceClient(); Options option = client.getOptions(); option.setManageSession(true); option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie); }
public void removeOpenIDSignUp(String openID) throws Exception { stub.removeOpenID(openID); }
public String[] getAllOpenIDs(String userName) throws Exception { return stub.getAllOpenIDs(userName); }