|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserReaderMBean
Provides a set of methods for reading data about users. An Authentication provider MBean can optionally implement this MBean. The WebLogic Server Administration Console detects when an Authentication provider implements this MBean and automatically provides a tab for using these methods.
Method Summary | |
---|---|
abstract String |
getUserDescription(String userName) Gets a user's description. |
abstract String |
listUsers(String userNameWildcard, int maximumToReturn) Searches for a user name that matches a pattern. |
abstract boolean |
userExists(String userName) Indicates whether the specified user exists. |
Methods inherited from interface weblogic.management.utils.NameListerMBean |
---|
getCurrentName |
Methods inherited from interface weblogic.management.utils.ListerMBean |
---|
advance, close, haveCurrent |
Methods inherited from interface weblogic.management.commo.StandardInterface |
---|
getName |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
String listUsers(String userNameWildcard, int maximumToReturn) throws InvalidParameterException
Searches for a user name that matches a pattern.
This method returns a cursor that you can pass to the methods from weblogic.management.utils.NameListerMBean
(which this MBean extends) to iterate through the returned list.
This method does not sort the results.
userNameWildcard
- - The pattern for which this method searches. The pattern can end with an *
(asterisk) as a wildcard, which matches any string of characters. The search is not case-sensitive.
For example, a pattern of abc
matches exactly one user name that contains only abc
, a pattern of ab*
matches all user names that start with ab
, and a pattern of *
matches all user names.
maximumToReturn
- - The maximum number of user names that this method returns. If there are more matches than this maximum, then the returned results are arbitrary because this method does not sort results. If the parameter is set to 0 there is no maximum and all results are returned.InvalidParameterException
boolean userExists(String userName) throws InvalidParameterException
userName
- - The name that this method evaluates.InvalidParameterException
String getUserDescription(String userName) throws NotFoundException, InvalidParameterException
userName
- - The name of an existing user.NotFoundException
InvalidParameterException
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |