com.beasys.commerce.axiom.contact.security
Class RDBMSRealm
java.lang.Object
|
+--weblogic.security.acl.AbstractListableRealm
|
+--weblogic.security.acl.AbstractManageableRealm
|
+--com.beasys.commerce.axiom.contact.security.RDBMSRealm
- public class RDBMSRealm
- extends weblogic.security.acl.AbstractManageableRealm
- implements weblogic.security.acl.DebuggableRealm
RDBMS realm class. This is the default realm to handle user/group
information for the user management section of the Commerce Server.
Constructor Summary |
RDBMSRealm()
Create a new RDBMS realm object. |
Method Summary |
weblogic.logging.LogOutputStream |
getDebugLog()
Obtain the debug log, if it is enabled. |
java.security.acl.Group |
getGroup(java.lang.String name)
Return the group with the given name, or null if the group does
not exist in the database. |
java.util.Enumeration |
getGroups()
Return an enumeration of all groups in the database. |
weblogic.security.acl.User |
getUser(java.lang.String name)
Return the user with the given name, or null if the user does not
exist in the database. |
java.util.Enumeration |
getUsers()
Return an enumeration of all users in the database. |
void |
setDebug(boolean enable)
Enable or disable debug logging. |
Methods inherited from class weblogic.security.acl.AbstractManageableRealm |
deleteAcl,
deleteGroup,
deletePermission,
deleteUser,
newAcl,
newGroup,
newPermission,
newUser,
setPermission |
Methods inherited from class weblogic.security.acl.AbstractListableRealm |
authenticate,
getAcl,
getAcl,
getAclOwner,
getAcls,
getDelegator,
getGroupMembers,
getName,
getPermission,
getPermissions,
getUser,
init,
load,
save,
setDelegator |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RDBMSRealm
public RDBMSRealm()
- Create a new RDBMS realm object.
getUser
public weblogic.security.acl.User getUser(java.lang.String name)
- Return the user with the given name, or null if the user does not
exist in the database.
- Overrides:
- getUser in class weblogic.security.acl.AbstractListableRealm
- Parameters:
name
- the name to obtain- Returns:
- the user, or null if none
- Throws:
- RDBMSException - an error occurred in communicating with
the database
getGroup
public java.security.acl.Group getGroup(java.lang.String name)
- Return the group with the given name, or null if the group does
not exist in the database.
- Overrides:
- getGroup in class weblogic.security.acl.AbstractListableRealm
- Parameters:
name
- the name to obtain- Returns:
- the group, or null if none
- Throws:
- RDBMSException - an error occurred in communicating with
the database
getUsers
public java.util.Enumeration getUsers()
- Return an enumeration of all users in the database. Each element
of the Enumeration is a User object.
- Overrides:
- getUsers in class weblogic.security.acl.AbstractListableRealm
- Returns:
- all users
- Throws:
- RDBMSException - an error occurred in communicating with
the database
- See Also:
User
getGroups
public java.util.Enumeration getGroups()
- Return an enumeration of all groups in the database. Each
element of the Enumeration is a Group object. Note that in this
realm, empty groups cannot currently exist.
- Overrides:
- getGroups in class weblogic.security.acl.AbstractListableRealm
- Returns:
- all groups
- Throws:
- RDBMSException - an error occurred in communicating with
the database
- See Also:
Group
setDebug
public void setDebug(boolean enable)
- Enable or disable debug logging.
- Specified by:
- setDebug in interface weblogic.security.acl.DebuggableRealm
getDebugLog
public weblogic.logging.LogOutputStream getDebugLog()
- Obtain the debug log, if it is enabled.
- Specified by:
- getDebugLog in interface weblogic.security.acl.DebuggableRealm
Copyright © 2000 BEA Systems, Inc. All Rights Reserved