Package org.eclipse.jgit.util
Class GSSManagerFactory
java.lang.Object
org.eclipse.jgit.util.GSSManagerFactory
- Direct Known Subclasses:
GSSManagerFactory.DefaultGSSManagerFactory,GSSManagerFactory.SunGSSManagerFactory
Factory to detect which GSSManager implementation should be used.
- Since:
- 3.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classDefaultGSSManagerFactory uses @linkGSSManager.getInstance()but you might need to setjavax.security.auth.useSubjectCredsOnlysystem property tofalsefor authentication to work.private static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GSSManagerFactorydetect()Auto-detects the GSSManager factory to use based on system.abstract GSSManagernewInstance(URL url) Returns a GSS Manager instance for the provided url
-
Constructor Details
-
GSSManagerFactory
public GSSManagerFactory()
-
-
Method Details
-
detect
Auto-detects the GSSManager factory to use based on system.- Returns:
- detected GSSManager factory
-
newInstance
Returns a GSS Manager instance for the provided url- Parameters:
url- the repository url- Returns:
- a GSSManager instance
-