public abstract class AuthenticationProvider
extends com.oracle.meep.security.Provider
Modifier | Constructor and Description |
---|---|
protected |
AuthenticationProvider()
Creates AuthenticationProvider instance.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<Client> |
authenticateApplication(MIDletProperties properties,
java.io.InputStream jarStream)
Authenticates an application.
|
static AuthenticationProvider |
getAuthenticationProvider()
Return the reference to the authentication provider instance.
|
abstract void |
initialize()
Authentication provider initialization.
|
protected static void |
reportCriticalError(java.lang.String message)
Reports critical error via logging subsystems
|
protected static void |
reportCriticalError(java.lang.String message,
java.lang.Throwable cause)
Reports critical error via logging subsystems
|
protected AuthenticationProvider()
public static AuthenticationProvider getAuthenticationProvider()
public abstract java.util.List<Client> authenticateApplication(MIDletProperties properties, java.io.InputStream jarStream) throws AuthenticationProviderException
properties
- application properties supplied by the runtimejarStream
- stream with application jarAuthenticationProviderException
- in case there is authentication errorpublic abstract void initialize()
initialize
in class com.oracle.meep.security.Provider
protected static void reportCriticalError(java.lang.String message)
message
- message to reportjava.lang.RuntimeException
- with the specified messageprotected static void reportCriticalError(java.lang.String message, java.lang.Throwable cause)
message
- message to reportcause
- exception that caused the errorjava.lang.RuntimeException
- with the specified messageCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved.