org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue Java Examples
The following examples show how to use
org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UserAdminClient.java From carbon-identity-framework with Apache License 2.0 | 5 votes |
public void addUser(String userName, String password, String[] roles, ClaimValue[] claims, String profileName) throws AxisFault { try { stub.addUser(userName, password, roles, claims, profileName); } catch (Exception e) { handleException(e); } }
Example #2
Source File: UserAdminClient.java From carbon-identity-framework with Apache License 2.0 | 5 votes |
public FlaggedName[] listUserByClaim(ClaimValue claimValue, String filter, int limit) throws AxisFault { try { org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue abcdClaimValue = new org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue(); abcdClaimValue.setClaimURI(claimValue.getClaimURI()); abcdClaimValue.setValue(claimValue.getValue()); return stub.listUserByClaim(abcdClaimValue, filter, limit); } catch (Exception e) { handleException(e); } return new FlaggedName[0]; }
Example #3
Source File: UserAdminClient.java From carbon-identity-framework with Apache License 2.0 | 5 votes |
public FlaggedName[] listUserByClaimWithPermission(ClaimValue claimValue, String filter, String permission, int limit) throws AxisFault { try { org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue newClaimValue = new org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue(); newClaimValue.setClaimURI(newClaimValue.getClaimURI()); newClaimValue.setValue(newClaimValue.getValue()); return stub.listUserByClaimWithPermission(newClaimValue, filter, permission, limit); } catch (Exception e) { handleException(e); } return new FlaggedName[0]; }
Example #4
Source File: UserAdminClient.java From carbon-identity with Apache License 2.0 | 5 votes |
public void addUser(String userName, String password, String[] roles, ClaimValue[] claims, String profileName) throws AxisFault { try { stub.addUser(userName, password, roles, claims, profileName); } catch (Exception e) { handleException(e); } }
Example #5
Source File: UserAdminClient.java From carbon-identity with Apache License 2.0 | 5 votes |
public FlaggedName[] listUserByClaim(ClaimValue claimValue, String filter, int limit) throws AxisFault { try { org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue abcdClaimValue = new org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue(); abcdClaimValue.setClaimURI(claimValue.getClaimURI()); abcdClaimValue.setValue(claimValue.getValue()); return stub.listUserByClaim(abcdClaimValue, filter, limit); } catch (Exception e) { handleException(e); } return new FlaggedName[0]; }
Example #6
Source File: UserAdminClient.java From carbon-identity with Apache License 2.0 | 5 votes |
public FlaggedName[] listUserByClaimWithPermission(ClaimValue claimValue, String filter, String permission, int limit) throws AxisFault { try { org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue newClaimValue = new org.wso2.carbon.user.mgt.stub.types.carbon.ClaimValue(); newClaimValue.setClaimURI(newClaimValue.getClaimURI()); newClaimValue.setValue(newClaimValue.getValue()); return stub.listUserByClaimWithPermission(newClaimValue, filter, permission, limit); } catch (Exception e) { handleException(e); } return new FlaggedName[0]; }
Example #7
Source File: UserManagementClient.java From product-es with Apache License 2.0 | 5 votes |
public static ClaimValue[] toADBClaimValues( org.wso2.carbon.user.mgt.common.ClaimValue[] claimValues) { if (claimValues == null) { return new ClaimValue[0]; } ClaimValue[] values = new ClaimValue[claimValues.length]; for (org.wso2.carbon.user.mgt.common.ClaimValue cvalue : claimValues) { ClaimValue value = new ClaimValue(); value.setClaimURI(cvalue.getClaimURI()); value.setValue(cvalue.getValue()); } return values; }
Example #8
Source File: UserManagementClient.java From product-es with Apache License 2.0 | 4 votes |
public FlaggedName[] listUserByClaim(ClaimValue claimValue, String filter, int maxLimit) throws RemoteException, UserAdminUserAdminException{ return userAdminStub.listUserByClaim(claimValue, filter, maxLimit); }