Package oracle.security.idm

Examples of oracle.security.idm.SearchParameters


          if ( createUserRole != null  ) {
              SimpleSearchFilter filter =
                        idStore.getSimpleSearchFilter(RoleProfile.NAME,
                                                      SimpleSearchFilter.TYPE_EQUAL,
                                                      this.createUserRole);
              SearchParameters sp = new SearchParameters(filter,
                                                         SearchParameters.SEARCH_ROLES_ONLY);
              SearchResponse response = idStore.search(sp);
              if (response.hasNext()) {
                Role role = (Role)response.next();
                idStore.getRoleManager().grantRole(role, newUser.getPrincipal());
View Full Code Here


    public void searchUser(ActionEvent actionEvent) {
     SimpleSearchFilter filter =
           idStore.getSimpleSearchFilter(UserProfile.NAME,
                                         SimpleSearchFilter.TYPE_EQUAL,
                                         this.searchUser);
          SearchParameters sp = new SearchParameters(filter,
                                                     SearchParameters.SEARCH_USERS_ONLY);
          try {
            SearchResponse response = idStore.search(sp);
            if (response.hasNext()) {
              User user = (User)response.next();
View Full Code Here

TOP

Related Classes of oracle.security.idm.SearchParameters

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.