org.blojsom.plugin.twitter
Class TwitterNotificationPlugin.TwitterAuthenticator

java.lang.Object
  extended byjava.net.Authenticator
      extended byorg.blojsom.plugin.twitter.TwitterNotificationPlugin.TwitterAuthenticator
Enclosing class:
TwitterNotificationPlugin

public class TwitterNotificationPlugin.TwitterAuthenticator
extends java.net.Authenticator


Constructor Summary
TwitterNotificationPlugin.TwitterAuthenticator(java.lang.String username, java.lang.String password)
          Create a new instance of the Twitter authenticator
 
Method Summary
protected  java.net.PasswordAuthentication getPasswordAuthentication()
          Return a PasswordAuthentication with the username and password for Twitter
 
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterNotificationPlugin.TwitterAuthenticator

public TwitterNotificationPlugin.TwitterAuthenticator(java.lang.String username,
                                                      java.lang.String password)
Create a new instance of the Twitter authenticator

Parameters:
username - Twitter username
password - Twitter password
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Return a PasswordAuthentication with the username and password for Twitter

Returns:
PasswordAuthentication with the username and password for Twitter