All Examples  This Package

Class examples.security.acl.FrobImpl

java.lang.Object
   |
   +----examples.security.acl.FrobImpl

public class FrobImpl
extends Object
implements Frobable
Class FrobImpl illustrates the use of ACLs by showing how to protect an RMI object's method. You will see either a success message or a SecurityException from the frob method.

Author:
Copyright (c) 1997-2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Index

 o FrobImpl()

Method Index

 o frob()
Illustrates two ways to check access permissions of an RMI object.
 o main(String[])
Creates a FrobImpl and binds in JNDI as frob traget.

Constructors

 o FrobImpl
 public FrobImpl()

Methods

 o frob
 public void frob() throws RemoteException
Illustrates two ways to check access permissions of an RMI object. Checking permission is a single static method call for ACLs in the WebLogic Realm. Also shown here is a general method of checking security for the current user in the current Realm.

 o main
 public static void main(String args[])
Creates a FrobImpl and binds in JNDI as frob traget.


All Examples  This Package