Class DrillRestServer.DrillUserPrincipalProvider
java.lang.Object
org.apache.drill.exec.server.rest.DrillRestServer.DrillUserPrincipalProvider
- All Implemented Interfaces:
org.glassfish.hk2.api.Factory<DrillUserPrincipal>
- Enclosing class:
- DrillRestServer
public static class DrillRestServer.DrillUserPrincipalProvider
extends Object
implements org.glassfish.hk2.api.Factory<DrillUserPrincipal>
Provider which injects DrillUserPrincipal directly instead of getting it
from SecurityContext and typecasting
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DrillUserPrincipalProvider
public DrillUserPrincipalProvider()
-
-
Method Details
-
provide
- Specified by:
provide
in interfaceorg.glassfish.hk2.api.Factory<DrillUserPrincipal>
-
dispose
- Specified by:
dispose
in interfaceorg.glassfish.hk2.api.Factory<DrillUserPrincipal>
-