|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.credentials.CredentialsManagerFactory
public class CredentialsManagerFactory
Static methods to get a CredentialsManager
with the best storage
mechanism for the running platform.
Core classes must pass the active ConnectionAdvisor
's
PersistenceStoreProvider
when calling
getCredentialsManager(PersistenceStoreProvider)
.
Constructor Summary | |
---|---|
CredentialsManagerFactory()
|
Method Summary | |
---|---|
static CredentialsManager |
getCredentialsManager(PersistenceStoreProvider persistenceProvider)
Gets the best CredentialsManager for this platform. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CredentialsManagerFactory()
Method Detail |
---|
public static CredentialsManager getCredentialsManager(PersistenceStoreProvider persistenceProvider)
CredentialsManager
for this platform. If the
platform provides credential management services (Windows CredMan, Mac OS
X Keychain), an implementation that uses that service is returned,
otherwise the given PersistenceStoreProvider
may be used for
storage. Test the returned CredentialsManager
for its
capabilities (whether it is secure, is read-only, etc.).
persistenceProvider
- a PersistenceStoreProvider
to use if there are no secure
platform storage services available (must not be null
)
CredentialsManager
(never null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |