|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.util.LongHashtable
net.rim.device.api.userauthenticator.UserAuthenticatorContextObject
public final class UserAuthenticatorContextObject
Context objects employed to pass generic data between a user authenticator and the security framework.
The security system uses these context objects to contain a variable amount of information, including named objects, that user authenticators and the security framework can refer to by a long key.
Constants in this class
The constants defined in this class are provided for passing to the put, get, and
remove methods inherited from LongHashtable
, to indicate the type of
information inserted into the context. In this way, each context object can
hold a single instance of each type of object described here.
UserAuthenticator.initialize(net.rim.device.api.userauthenticator.SecurityUIManager, net.rim.device.api.util.DataBuffer, net.rim.device.api.util.DataBuffer, net.rim.device.api.userauthenticator.UserAuthenticatorContextObject)
,
UserAuthenticator.initializeImpl(net.rim.device.api.userauthenticator.SecurityUIManager, net.rim.device.api.util.DataBuffer, net.rim.device.api.util.DataBuffer, net.rim.device.api.userauthenticator.UserAuthenticatorContextObject)
,
UserAuthenticator.authenticate(net.rim.device.api.userauthenticator.SecurityUIManager, net.rim.device.api.util.DataBuffer, net.rim.device.api.userauthenticator.UserAuthenticatorContextObject)
,
UserAuthenticator.authenticateImpl(net.rim.device.api.userauthenticator.SecurityUIManager, net.rim.device.api.util.DataBuffer, net.rim.device.api.userauthenticator.UserAuthenticatorContextObject)
Field Summary | ||
---|---|---|
|
static long |
FIELD_PROVIDER_FIELD
Indicates a field object. |
|
static long |
PASSWORD
Indicates the User Authenticator Password. |
Constructor Summary | ||
---|---|---|
|
UserAuthenticatorContextObject()
Construct a new, empty context object / hashtable with a default capacity and load factor. |
|
|
UserAuthenticatorContextObject(int initialCapacity)
Construct a new, empty context object / hash table with the specified capacity. |
|
|
UserAuthenticatorContextObject(UserAuthenticatorContextObject context)
Construct a new context object / hashtable based on the contents of the given context. |
Method Summary |
---|
Methods inherited from class net.rim.device.api.util.LongHashtable |
---|
clear, contains, containsKey, elements, get, getKey, isEmpty, keys, keysToArray, put, rehash, remove, resetElements, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long FIELD_PROVIDER_FIELD
If the user authenticator provides a field, the security system
passes this field back to the authenticator when invoking its
initialize
method. The authenticator
can use the settings within the field, if needed.
The authenticator should mark the field as clean (invoking setDirty(false) on the field), if it does not wish to be called back.
public static final long PASSWORD
This context gets used to pass the password to the initializeImpl
,
authenticateImpl
and
verifyPolicySettingsImpl
methods.
Constructor Detail |
---|
public UserAuthenticatorContextObject(int initialCapacity)
initialCapacity
- Initial capacity of the context / hashtable.
IllegalArgumentException
- If the initial capacity is less than zeropublic UserAuthenticatorContextObject()
public UserAuthenticatorContextObject(UserAuthenticatorContextObject context)
The context / hashtable itself is copied, however, the references to the objects in the original context / hashtable are referred to by the new context / hashtable.
context
- Source context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.