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 class
DefaultGSSManagerFactory uses @linkGSSManager.getInstance()
but you might need to setjavax.security.auth.useSubjectCredsOnly
system property tofalse
for authentication to work.private static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GSSManagerFactory
detect()
Auto-detects the GSSManager factory to use based on system.abstract GSSManager
newInstance
(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
-