WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.security.acl
Class AltClient

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

public class AltClient
extends java.lang.Object

This simple client connects as a specific user and attempts an RMI invocation. Access to the invocation will be granted or denied depending on the configured ACLs.

This differs from the Client example in two ways:

If you want to test two-way SSL authentication, you can use the demokey.pem and democert.pem files provided in your installation as your client key and certificate. Don't forget to configure the server to require two-way SSL authentication; it should use the ca.pem file (also in your installation) as the Certification Authority to check for when clients connect.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
See Also:
Client

Constructor Summary
AltClient()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main entry point.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AltClient

public AltClient()
Method Detail

main

public static void main(java.lang.String[] args)
The main entry point. The summary is that we check our parameters, look up frobtarget, call frob on it, and report on whether it succeeded.

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.