rename SingleEntityCredentialManager to SubjectCredentialManager, part 2
This commit is contained in:
parent
cb0c881821
commit
896afc4644
3 changed files with 7 additions and 7 deletions
|
@ -23,12 +23,12 @@ import java.util.List;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* Standard implementation for a {@link MapSingleEntityCredentialManagerEntity} where the store doesn't provide
|
||||
* Standard implementation for a {@link MapSubjectCredentialManagerEntity} where the store doesn't provide
|
||||
* validation of credentials.
|
||||
*
|
||||
* @author Alexander Schwartz
|
||||
*/
|
||||
public class DefaultMapSingleEntityCredentialManagerEntity implements MapSingleEntityCredentialManagerEntity {
|
||||
public class DefaultMapSubjectCredentialManagerEntity implements MapSubjectCredentialManagerEntity {
|
||||
@Override
|
||||
public void validateCredentials(List<CredentialInput> inputs) {
|
||||
}
|
|
@ -27,7 +27,7 @@ import java.util.stream.Stream;
|
|||
*
|
||||
* @author Alexander Schwartz
|
||||
*/
|
||||
public interface MapSingleEntityCredentialManagerEntity {
|
||||
public interface MapSubjectCredentialManagerEntity {
|
||||
|
||||
/**
|
||||
* Validate the credentials of a user.
|
|
@ -24,8 +24,8 @@ import org.keycloak.models.map.common.AbstractEntity;
|
|||
import org.keycloak.models.map.common.DeepCloner;
|
||||
import org.keycloak.models.map.common.EntityWithAttributes;
|
||||
import org.keycloak.models.map.common.UpdatableEntity;
|
||||
import org.keycloak.models.map.credential.DefaultMapSingleEntityCredentialManagerEntity;
|
||||
import org.keycloak.models.map.credential.MapSingleEntityCredentialManagerEntity;
|
||||
import org.keycloak.models.map.credential.DefaultMapSubjectCredentialManagerEntity;
|
||||
import org.keycloak.models.map.credential.MapSubjectCredentialManagerEntity;
|
||||
import org.keycloak.models.utils.KeycloakModelUtils;
|
||||
|
||||
import java.util.Collections;
|
||||
|
@ -248,7 +248,7 @@ public interface MapUserEntity extends UpdatableEntity, AbstractEntity, EntityWi
|
|||
Long getNotBefore();
|
||||
void setNotBefore(Long notBefore);
|
||||
|
||||
default MapSingleEntityCredentialManagerEntity credentialManager() {
|
||||
return new DefaultMapSingleEntityCredentialManagerEntity();
|
||||
default MapSubjectCredentialManagerEntity credentialManager() {
|
||||
return new DefaultMapSubjectCredentialManagerEntity();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue