25 lines
677 B
Plaintext
25 lines
677 B
Plaintext
= 권한관리 기간 배치
|
|
|
|
== 만료 권한 삭제
|
|
배치를 실행하여 사용자 및 역할에 매핑된 권한 중 만료된 권한을 삭제한다.
|
|
|
|
.config.properties
|
|
[source,properties]
|
|
----
|
|
batch.user.auth-expired.cron=0 10 02 * * ?
|
|
----
|
|
|
|
== 권한만료 예정 안내 메일 발송
|
|
배치를 실행하여 권한만료 예정인 사용자를 대상으로 안내메일을 발송한다.
|
|
|
|
.config.properties
|
|
[source,properties]
|
|
----
|
|
batch.user.auth-expired-mailing.cron=0 30 02 * * ?
|
|
----
|
|
|
|
== Spring 환경설정
|
|
* QuartzConfig.java: Scheduler 등록
|
|
* UserBatchConfig.java: 배치 Job, Trigger 등록
|
|
* UserBatchExecutor.java: 서비스 호출
|