net.jini.jeri.ssl
Class Utilities.ClientKey
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
com.sun.jini.collection.WeakSoftTable.WeakKey
net.jini.jeri.ssl.Utilities.ServerKey
net.jini.jeri.ssl.Utilities.ClientKey
- All Implemented Interfaces:
- WeakSoftTable.RemovableReference
- Enclosing class:
- Utilities
private static final class Utilities.ClientKey
- extends Utilities.ServerKey
WeakKey for looking up a client SSLContext. Stores a weak reference to
the subject, plus the permitted client and server principals, the
endpoint, and whether client authentication is required.
Method Summary |
WeakSoftTable.RemovableReference |
copy(ReferenceQueue queue)
Returns a copy of this instance registered with the specified queue. |
boolean |
equals(Object other)
Returns true if the argument is an instance of the same concrete
class, and if both objects had null keys, or if neither object has
had its weak key cleared and their values are ==. |
int |
hashCode()
|
permittedRemotePrincipals
final Set permittedRemotePrincipals
endpoint
final Endpoint endpoint
clientAuthRequired
final boolean clientAuthRequired
cipherSuites
final String[] cipherSuites
Utilities.ClientKey
Utilities.ClientKey(CallContext callContext)
- Creates a key for the specified client call context.
Utilities.ClientKey
private Utilities.ClientKey(Utilities.ClientKey clientKey,
ReferenceQueue queue)
- Copies the key to the queue.
copy
public WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
- Description copied from interface:
WeakSoftTable.RemovableReference
- Returns a copy of this instance registered with the specified queue.
- Specified by:
copy
in interface WeakSoftTable.RemovableReference
- Overrides:
copy
in class Utilities.ServerKey
- Parameters:
queue
- the queue with which this instance should be registered
- Returns:
- the copy
hashCode
public int hashCode()
- Overrides:
hashCode
in class Utilities.ServerKey
equals
public boolean equals(Object other)
- Description copied from class:
WeakSoftTable.WeakKey
- Returns true if the argument is an instance of the same concrete
class, and if both objects had null keys, or if neither object has
had its weak key cleared and their values are ==.
- Overrides:
equals
in class Utilities.ServerKey
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.