|
| WebLogic Server 6.0 Code Examples, BEA Systems, Inc. |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
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:
- It uses Environment to establish the initial JNDI context
instead of InitialContext and a Hashtable.
- It attempts to perform two-way SSL authentication, if a client
private key and certificates are provided.
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
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 |
AltClient
public AltClient()
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.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.