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.
   
  -   FrobImpl() FrobImpl()
-  
   
  -   frob() frob()
-   Illustrates two ways to check access permissions of an RMI object.
  
-   main(String[]) main(String[])
-   Creates a FrobImpl and binds in JNDI as frob traget.
   
 FrobImpl
FrobImpl
 public FrobImpl()
   
 frob
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.
 
 main
main
 public static void main(String args[])
  -  Creates a FrobImpl and binds in JNDI as frob traget.
 
All Examples  This Package