API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. AuthProvider View Source
Author(s)
Since
1.5
Version
1.4, 11/17/05
Serial
Hierarchy
 Object
      Dictionary
          Hashtable
              Properties
                  Provider
                      AuthProvider
Implements
Subclasses
Description
publicabstract abstract class AuthProvider
  This class defines login and logout methods for a provider.
See also:   
Constructors
protected AuthProvider (String name, double version, String info)
  Constructs a provider with the specified name, version number, and information.
Methods
Hide/Show inherited methods
publicsynchronized void clear () [Inherited From Provider]
  Clears this provider so that it no longer contains the properties used to look up facilities implemented by the provider.
publicsynchronized Object clone () [Inherited From Hashtable]
  Creates a shallow copy of this hashtable.
publicsynchronized boolean contains (Object value) [Inherited From Hashtable]
  Tests if some key maps into the specified value in this hashtable.
publicsynchronized boolean containsKey (Object key) [Inherited From Hashtable]
  Tests if the specified object is a key in this hashtable.
public boolean containsValue (Object value) [Inherited From Hashtable]
  Returns true if this hashtable maps one or more keys to this value.
public Enumeration<Object> elements () [Inherited From Provider] [Specified in Dictionary]
publicsynchronized Set<Entry<Object, Object>> entrySet () [Inherited From Provider]
  Returns an unmodifiable Set view of the property entries contained in this Provider.
publicsynchronized boolean equals (Object o) [Inherited From Hashtable]
  Compares the specified Object with this Map for equality, as per the definition in the Map interface.
public Object get (Object key) [Inherited From Provider] [Specified in Dictionary]
public String getInfo () [Inherited From Provider]
  Returns a human-readable description of the provider and its services.
public String getName () [Inherited From Provider]
  Returns the name of this provider.
public String getProperty (String key) [Inherited From Provider]
public String getProperty (String key, String defaultValue) [Inherited From Properties]
  Searches for the property with the specified key in this property list.
publicsynchronized Service getService (String type, String algorithm) [Inherited From Provider]
  Get the service describing this Provider's implementation of the specified type of this algorithm or alias.
publicsynchronized Set<Service> getServices () [Inherited From Provider]
  Get an unmodifiable Set of all services supported by this Provider.
public double getVersion () [Inherited From Provider]
  Returns the version number for this provider.
publicsynchronized int hashCode () [Inherited From Hashtable]
  Returns the hash code value for this Map as per the definition in the Map interface.
publicsynchronized boolean isEmpty () [Inherited From Hashtable] [Specified in Dictionary]
  Tests if this hashtable maps no keys to values.
public Enumeration<Object> keys () [Inherited From Provider] [Specified in Dictionary]
public Set<Object> keySet () [Inherited From Provider]
  Returns an unmodifiable Set view of the property keys contained in this provider.
public void list (PrintStream out) [Inherited From Properties]
  Prints this property list out to the specified output stream.
public void list (PrintWriter out) [Inherited From Properties]
  Prints this property list out to the specified output stream.
publicsynchronized void load (InputStream inStream) throws IOException [Inherited From Provider]
  Reads a property list (key and element pairs) from the input stream.
publicsynchronized void load (Reader reader) throws IOException [Inherited From Properties]
  Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
publicsynchronized void loadFromXML (InputStream in) throws IOException InvalidPropertiesFormatException [Inherited From Properties]
  Loads all of the properties represented by the XML document on the specified input stream into this properties table.
publicabstract void login (Subject subject, CallbackHandler handler) throws LoginException
  Log in to this provider.
publicabstract void logout () throws LoginException
  Log out from this provider.
public Enumeration<Object> propertyNames () [Inherited From Properties]
  Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
publicsynchronized V put ( K key, V value) [Inherited From Hashtable] [Specified in Dictionary]
  Maps the specified key to the specified value in this hashtable.
publicsynchronized Object put (Object key, Object value) [Inherited From Provider]
  Sets the key property to have the specified value.
publicsynchronized void putAll (Map<Object, Object> t) [Inherited From Provider]
  Copies all of the mappings from the specified Map to this provider.
publicsynchronized void putAll (Map<Object, Object> t) [Inherited From Hashtable]
  Copies all of the mappings from the specified map to this hashtable.
protectedsynchronized void putService (Service s) [Inherited From Provider]
  Add a service.
protected void rehash () [Inherited From Hashtable]
  Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently.
publicsynchronized Object remove (Object key) [Inherited From Provider] [Specified in Dictionary]
  Removes the key property (and its corresponding value).
protectedsynchronized void removeService (Service s) [Inherited From Provider]
  Remove a service previously added using putService().
@Deprecated
publicsynchronized void save (OutputStream out, String comments) [Inherited From Properties]
  Calls the store(OutputStream out, String comments) method and suppresses IOExceptions that were thrown.
publicabstract void setCallbackHandler (CallbackHandler handler)
  Set a CallbackHandler.
publicsynchronized Object setProperty (String key, String value) [Inherited From Properties]
  Calls the Hashtable method put.
publicsynchronized int size () [Inherited From Hashtable] [Specified in Dictionary]
  Returns the number of keys in this hashtable.
public void store (OutputStream out, String comments) throws IOException [Inherited From Properties]
  Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load(InputStream) method.
public void store (Writer writer, String comments) throws IOException [Inherited From Properties]
  Writes this property list (key and element pairs) in this Properties table to the output character stream in a format suitable for using the load(Reader) method.
publicsynchronized void storeToXML (OutputStream os, String comment) throws IOException [Inherited From Properties]
  Emits an XML document representing all of the properties contained in this table.
publicsynchronized void storeToXML (OutputStream os, String comment, String encoding) throws IOException [Inherited From Properties]
  Emits an XML document representing all of the properties contained in this table, using the specified encoding.
public Set<String> stringPropertyNames () [Inherited From Properties]
  Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
public String toString () [Inherited From Provider]
  Returns a string with the name and the version number of this provider.
public Collection<Object> values () [Inherited From Provider]
  Returns an unmodifiable Collection view of the property values contained in this provider.
Fields
Hide/Show inherited fields
protected Properties defaults [Inherited From Properties]
A property list that contains default values for any keys not found in this property list.
pack-privatefinalstatic long serialVersionUID = "-4298000515446427739" [Inherited From Provider]
Nested Classes
  Provider.Service
The description of a security service.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar