All Examples
package examples.security
about this package
The examples in this directory demonstrate various uses for WebLogic's
security APIs: WebLogic SSL and WebLogic ACLs.
- The acl example
demonstrates how to restrict access to a WebLogic object with an access
control list (ACL). You define an ACL in the default
WebLogic realm, and then include code in an RMI object to check the list for
authorization before allowing a user to execute it.
-
The defaultrealm
example is the DefaultRealmExtender class, which is used by other
realms to extend the WebLogic realm. The
RdbmsRealm example uses this class.
-
The formauth example shows how to
force authentication on a web page using WebLogic JSP. When you add
the JSP code to the beginning and end of an HTML page, a login form is
displayed. The body of the HTML page is not displayed until the user
enters a username and password that are valid in the WebLogic security
realm.
- The proxy
example is a graphical interface implementation of the weblogic.common.ProxyAuthenticator
interface.
- The rdbmsrealm
example extends the WebLogic realm with users, groups, ACLs, and
permissions stored in a relational database.
- The snoopproof
example demonstrates how the classes in weblogic.security.acl can be
used to implement a snoop-proof authentication scheme.
there's more . . .
Read more about WebLogic Security in the Developers Guides,
Using
WebLogic SSL, and
Using
WebLogic ACLs.