Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.sdk.esmail
Class OracleAuthenticator

java.lang.Object
  |
  +--javax.mail.Authenticator
        |
        +--oracle.mail.sdk.esmail.OracleAuthenticator

public class OracleAuthenticator
extends javax.mail.Authenticator

The OracleAuthenticator class is used in the OC4J environment to connect to the ESMail service provider. OC4J creates a default javamail Session object and is unable to recognize and return an instance of the esmail session object when the client program requests a session using the Session.getDefaultInstance(System.getProperties(), null) call. Instead within OC4J, a user is now required to make a Session.getDefaultInstance(System.getProperties(), new OracleAuthenticator()) call to get a default esmail session.

Since:
release specific (what release of product did this appear in)

Constructor Summary
OracleAuthenticator()

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OracleAuthenticator

public OracleAuthenticator()

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.