5장. profiles
Red Hat Single Sign-On에는 제품 및 미리보기의 두 가지 프로필이 있습니다. 제품 프로필은 기본적으로 활성화되어 있으며 일부 기술 프리뷰 기능을 비활성화합니다. 기능을 활성화하려면 프리뷰 프로필로 전환하거나 개별 기능을 활성화할 수 있습니다.
프리뷰 프로필을 활성화하려면 다음을 사용하여 서버를 시작합니다.
bin/standalone.sh|bat -Dkeycloak.profile=preview
도메인 모드에서 server-one 의 standalone/configuration/profile.properties (또는 domain/servers/server-one/configuration/profile.properties ) 파일을 생성하여 영구적으로 이 값을 설정할 수 있습니다. 파일에 다음을 추가합니다.
profile=preview
활성화 및 비활성화할 수 있는 기능은 다음과 같습니다.
| 이름 | 설명 | 기본적으로 활성화되어 있음 |
|---|---|---|
| 권한 부여 | 권한 부여 서비스 | 없음 |
| docker | Docker 레지스트리 프로토콜 | 없음 |
| impersonation | 관리자가 사용자를 가장할 수 있는 기능 | 제공됨 |
| script | JavaScript를 사용하여 사용자 정의 인증 작성 | 없음 |
특정 기능을 활성화하려면 다음을 사용하여 서버를 시작합니다.
bin/standalone.sh|bat -Dkeycloak.profile.feature.<feature name>=enabled
예를 들어 Docker use -Dkeycloak.profile.feature.docker=enabled.
특정 기능을 비활성화하려면 다음을 사용하여 서버를 시작합니다.
bin/standalone.sh|bat -Dkeycloak.profile.feature.<feature name>=disabled
예를 들어 Impersonation을 사용하지 않도록 설정하려면 -Dkeycloak.profile.feature.impersonation=disabled.
profile.properties 파일에서 이 값을 영구적으로 설정할 수 있습니다.
feature.impersonation=disabled
전체 프리뷰 프로필을 활성화하지 않고 특정 기능을 활성화하려면 다음을 사용하여 서버를 시작할 수 있습니다.
bin/standalone.sh|bat -Dkeycloak.profile.feature.<feature name>=enabled`
예를 들어 권한 부여 서비스를 활성화하려면 -Dkeycloak.profile.feature.authorization=enabled.
profile.properties 파일에서 이 값을 영구적으로 설정할 수 있습니다.
feature.authorization=enabled