@Target(value=TYPE) @Documented @Retention(value=RUNTIME) @Inherited public @interface SupportsCredentials
This annotation is used to declare which credential types are supported by a
particular CredentialHandler
implementation.
It also declares the CredentialStorage
supported by a particular CredentialHandler
.
Modifier and Type | Required Element and Description |
---|---|
Class<?>[] |
credentialClass
Credential types supported by the handler.
|
Class<? extends CredentialStorage> |
credentialStorage
Credential storage supported by the handler.
|
public abstract Class<?>[] credentialClass
Credential types supported by the handler.
public abstract Class<? extends CredentialStorage> credentialStorage
Credential storage supported by the handler.
Copyright © 2014. All rights reserved.