Most visited

Recently visited

Added in API level 1

AuthProvider

public abstract class AuthProvider
extends Provider

java.lang.Object
   ↳ java.util.Dictionary<java.lang.Objectjava.lang.Object>
     ↳ java.util.Hashtable<java.lang.Objectjava.lang.Object>
       ↳ java.util.Properties
         ↳ java.security.Provider
           ↳ java.security.AuthProvider


旧版安全代码; 不使用。

Summary

Inherited fields

From class java.util.Properties

Protected constructors

AuthProvider(String name, double version, String info)

Public methods

abstract void login(Subject subject, CallbackHandler handler)
abstract void logout()
abstract void setCallbackHandler(CallbackHandler handler)

Inherited methods

From class java.security.Provider
From class java.util.Properties
From class java.util.Hashtable
From class java.util.Dictionary
From class java.lang.Object
From interface java.util.Map

Protected constructors

AuthProvider

Added in API level 1
AuthProvider (String name, 
                double version, 
                String info)

Parameters
name String
version double
info String

Public methods

login

Added in API level 1
void login (Subject subject, 
                CallbackHandler handler)

Parameters
subject Subject
handler CallbackHandler
Throws
LoginException

logout

Added in API level 1
void logout ()

Throws
LoginException

setCallbackHandler

Added in API level 1
void setCallbackHandler (CallbackHandler handler)

Parameters
handler CallbackHandler

Hooray!