Package org.keycloak.models.utils
Class StripSecretsUtils
java.lang.Object
org.keycloak.models.utils.StripSecretsUtils
- Author:
 - Stian Thorgersen
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceinterface to encapsulate the getComponentProperties() function in order to make the code unit-testable - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected static IdentityProviderRepresentationprotected static ClientRepresentationprotected static ComponentRepresentationstripComponent(Map<String, ProviderConfigProperty> configProperties, ComponentRepresentation rep) protected static CredentialRepresentationprotected static voidstripRealm(KeycloakSession session, RealmRepresentation rep, StripSecretsUtils.GetComponentPropertiesFn fnGetConfigProperties) static <T> TstripSecrets(KeycloakSession session, T representation) protected static UserRepresentationstripUser(UserRepresentation user)  
- 
Constructor Details
- 
StripSecretsUtils
public StripSecretsUtils() 
 - 
 - 
Method Details
- 
stripSecrets
 - 
stripCredentials
 - 
stripComponent
protected static ComponentRepresentation stripComponent(Map<String, ProviderConfigProperty> configProperties, ComponentRepresentation rep)  - 
stripBroker
 - 
stripRealm
protected static void stripRealm(KeycloakSession session, RealmRepresentation rep, StripSecretsUtils.GetComponentPropertiesFn fnGetConfigProperties)  - 
stripUser
 - 
stripClient
 
 -