CoolioSo!

떵짜루의 개인 블로그

메뉴

컨텐츠로 건너뛰기
  • 홈
  • Home
  • ZEPPELIN
  • Zeppelin 로그인 권한 설정하기

Zeppelin 로그인 권한 설정하기

Zeppelin을 설치하면 기본적으로 익명 접속으로 접근할 수 있게 되어 있다.
하지만 이리 사용하는 것은 말도 안되니깐 로그인을 통한 권한 설정을 할 수 있도록 변경한다.

권한 설정 방법은 간단하다.
$ZEPPELIN_HOME/conf 디렉토리에서 shiro.ini 및 zeppelin-site.xml 파일 수정을 통해서 권한을 설정한다.

  • shiro.ini
    [users]
    # List of users with their password allowed to access Zeppelin.
    # To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections
    admin = q1w2e3, admin
    user1 = password2, role1, role2
    user2 = password3, role3
    user3 = password4, role2
    
    [urls]
    # This section is used for url-based security.
    # You can secure interpreter, configuration and credential information by urls. Comment or uncomment the below urls that you want to hide.
    # anon means the access is anonymous.
    # authc means Form based Auth Security
    # To enfore security, comment the line below and uncomment the next one
    #/api/version = anon
    /api/version = authc
    #/api/interpreter/** = authc, roles[admin]
    #/api/configurations/** = authc, roles[admin]
    #/api/credential/** = authc, roles[admin]
    #/** = anon
    /** = authc

접속할 계정에 대한 변경 방법은 [users] 카테고리에서 아이디 = 비밀번호, 권한 순으로 변경을 하면 된다.
접근할 URL 별로 권한을 설정하고 싶다면 [urls] 카테고리에서 URI 규칙을 설정하여 권한을 부여하면 된다.

관련

이 글은 ZEPPELIN 카테고리에 분류되었고 login, shiro, zeppelin, 권한설정, 로그인, 제플린 태그가 있으며 YOUNGMIN JUN님에 의해 2017년 6월 12일에 작성되었습니다.

글 네비게이션

← Apache와 Zeppelin 연동 Zeppelin Jackson 버젼 업그레이드 →
YOUNGMIN JUN

YOUNGMIN JUN

Sony TT16, IBM X21, Mac Mini(2012 Late), MacBook Pro Retina 13(2012 Late), iMac 27(2011 Late) iPhone 5, New iPad, iPad Mini(2013), MS Surface2 RT, MS Surface2 Pro

확인된 서비스

전체 프로필 보기 →

[1월] 2021
월 목 수 목 금 토 토
 123
45678910
11121314151617
18192021222324
25262728293031
« 7월    

카테고리

  • MAC_LIFE (9)
  • PHP (2)
  • 개발이야기 (66)
    • DevOPS (1)
    • ECLIPSE (1)
    • Git (3)
    • JAVA (3)
    • JAVASCRIPT (1)
    • LINUX (9)
    • MSSQL (3)
    • MYSQL (3)
    • ORACLE (5)
    • PostgreSQL (1)
    • PYTHON (1)
    • REDIS (2)
    • SPRING (3)
    • SPRING SECURITY (1)
    • ZEPPELIN (3)
  • 사랑이야기 (3)
  • 자격증 (3)
    • 정보보안기사 (3)
  • 자기관리 (9)
  • 프로젝트관리 (5)
    • Docker (1)
    • JENKINS (3)
    • Redmine (1)

최신 글

  • Spring Transactional
  • Git에서 CRLF 개행 문자 차이 해결법
  • Git 최초 설정
  • PostgreSQL
  • SpringQuartz 스케쥴링 시간지정 방법

태그

apache centos centos6 config console eclipse error git gmail homebrew html htmltopdf html to pdf install java jenkins linux mac mssql mysql network oracle osx pdf php pms redis redmine security server smtp spring ssh status su svn update window wkhtmltopdf yum zeppelin 시간관리 오라클 자기관리 정보보안
CoolioSo Modify By TwentyTwelve