@ManagedData public final class CallbackHandlerFeature extends WebServiceFeature
WebServiceFeature that controls CallbackHandler used during security related processing
of Metro.
This rather untyped, low-level and user-unfriendly CallbackHandler object controls many details of the security
processing at runtime, such as locating CertStore or KeyStore. While we'd like to provide
a higher level features for common configurations, this feature works as an catch-all escape hatch.
See impl.misc.DefaultCallbackHandler
implementation as an example of what callback CallbackHandler receives (note that this default
implementation class itself is not a committed part of Metro.)
This feature allows you to pass in an instance of CallbackHandler unlike
<sc:CallbackHandlerConfiguration> assertion, which makes it convenient to pass in some state
from the calling application into CallbackHandler.
enabled| Constructor and Description |
|---|
CallbackHandlerFeature(CallbackHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
CallbackHandler |
getHandler() |
String |
getID() |
isEnabledpublic CallbackHandlerFeature(@NotNull
CallbackHandler handler)
@ManagedAttribute public String getID()
getID in class WebServiceFeature@ManagedAttribute @NotNull public CallbackHandler getHandler()
CallbackHandler set in the constructor. Never null.Copyright © 2005–2018 Oracle Corporation. All rights reserved.