void function ( Authenticator arg0 ) { SecurityManager loc0 = System . getSecurityManager ( ) ; if ( loc0 != null ) loc0 . checkPermission ( new NetPermission ( "srini_string" ) ) ; defaultAuthenticator = arg0 ; }
this method sets the default authenticator object an instance of a subclass of authenticator to use when prompting the user for information . note that this method checks to see if the caller is allowed to set this value the `` setdefaultauthenticator '' permission and throws a securityexception if it is not . concode_field_sep String protocol concode_elem_sep Authenticator defaultAuthenticator concode_elem_sep String scheme concode_elem_sep int port concode_elem_sep String host concode_elem_sep InetAddress addr concode_elem_sep String prompt concode_field_sep InetAddress getRequestingSite concode_elem_sep String getRequestingScheme concode_elem_sep String getRequestingProtocol concode_elem_sep int getRequestingPort concode_elem_sep PasswordAuthentication getPasswordAuthentication concode_elem_sep PasswordAuthentication requestPasswordAuthentication concode_elem_sep PasswordAuthentication requestPasswordAuthentication concode_elem_sep String getRequestingHost concode_elem_sep String getRequestingPrompt