public static DefaultAuthenticationTransaction of ( final Service service , final Credential ... credentials ) { val creds = sanitizeCredentials ( credentials ) ; return new DefaultAuthenticationTransaction ( service , creds ) ; }
Wrap credentials into an authentication transaction as a factory method and return the final result .