code cleanup
This commit is contained in:
parent
896afc4644
commit
6376db0f9c
4 changed files with 3 additions and 14 deletions
|
@ -51,7 +51,7 @@ public class TestLdapConnectionRealmAdminProvider implements AdminRealmResourceP
|
|||
|
||||
@Override
|
||||
public Object getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) {
|
||||
return new TestLdapConnectionResource(realm, auth, adminEvent);
|
||||
return new TestLdapConnectionResource(realm, auth);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -41,27 +41,16 @@ import javax.ws.rs.core.Response;
|
|||
* @version $Revision: 1 $
|
||||
*/
|
||||
public class TestLdapConnectionResource {
|
||||
private static final Logger logger = Logger.getLogger(TestLdapConnectionResource.class);
|
||||
|
||||
protected RealmModel realm;
|
||||
|
||||
protected AdminPermissionEvaluator auth;
|
||||
|
||||
protected AdminEventBuilder adminEvent;
|
||||
|
||||
@Context
|
||||
protected ClientConnection clientConnection;
|
||||
|
||||
@Context
|
||||
protected KeycloakSession session;
|
||||
|
||||
@Context
|
||||
protected HttpHeaders headers;
|
||||
|
||||
public TestLdapConnectionResource(RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) {
|
||||
public TestLdapConnectionResource(RealmModel realm, AdminPermissionEvaluator auth) {
|
||||
this.auth = auth;
|
||||
this.realm = realm;
|
||||
this.adminEvent = adminEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
org.keycloak.locale.LocaleSelectorSPI
|
||||
org.keycloak.locale.LocaleUpdaterSPI
|
||||
org.keycloak.storage.UserStorageProviderSpi
|
||||
org.keycloak.theme.ThemeResourceSpi
|
||||
org.keycloak.theme.ThemeSelectorSpi
|
||||
org.keycloak.urls.HostnameSpi
|
|
@ -162,6 +162,7 @@ public class DefaultKeycloakSession implements KeycloakSession {
|
|||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public UserFederatedStorageProvider userFederatedStorage() {
|
||||
if (userFederatedStorageProvider == null) {
|
||||
userFederatedStorageProvider = getProvider(UserFederatedStorageProvider.class);
|
||||
|
|
Loading…
Reference in a new issue