Package hudson.plugins.collabnet.auth
Class CNConnection
- java.lang.Object
-
- hudson.plugins.collabnet.auth.CNConnection
-
public class CNConnection extends Object
Provides access to theCollabNetApp
associated with the currentAuthentication
that the calling thread carries.
-
-
Constructor Summary
Constructors Constructor Description CNConnection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CollabNetApp
getInstance()
Gets an instance with the current authentication, or null if the auth is the wrong type.static CollabNetApp
getInstance(Authentication a)
Wraps the private constructor.
-
-
-
Method Detail
-
getInstance
public static CollabNetApp getInstance()
Gets an instance with the current authentication, or null if the auth is the wrong type.
-
getInstance
public static CollabNetApp getInstance(Authentication a)
Wraps the private constructor. Will return null if the Authentication is the wrong type (i.e. not CNAuthentication).
-
-