aspose file tools
The moose likes Java in General and the fly likes java.net.Authenticator and setDefault() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.net.Authenticator and setDefault()" Watch "java.net.Authenticator and setDefault()" New topic
Author

java.net.Authenticator and setDefault()

Craig Dawson
Greenhorn

Joined: Dec 13, 2002
Posts: 1
How can the authenticator initially set using setDefault() be 'undone' or 'reset'. In my code I'd like to reset the authenticator to use a new set of credentials each time it's called but it keeps using the credentials that were used to create the initial authenticator. Any help out there?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.net.Authenticator and setDefault()