Code Monkey home page Code Monkey logo

groupacl's Introduction

Group-based Access Control

모듈 적용방법


 array(
        'https://my_SP_entityID' => array(
            'allow' => array(
                'attributeFormat' => 'friendlyName',
                'attributes' => array(
                    'isMemberOf' => array('kafe:service:myservice'),
                ),
                'referUrl' => 'https://myhome.org',
            ),
            'deny' => array(
                'attributeFormat' => 'oid',
                'attributes' => array(
                   'isMemberOf' => array('kafe:service:myservice'),
                ),
                'referUrl' => 'https://myhome.org',
            )
        )
    )
);

  1. simplesamlphp/modules에서 git clone https://github.com/coreen-kafe/groupacl.git
  2. config-templates/config-groupacl.php를 simplesamlphp/modules/config에 복사
  3. simplesamlphp/config/config.php 설정

   'authproc.idp' => array(
                9 => 'groupacl:GroupAcl',

변수 설명

  • attributeFormat: simplesamlphp 설정이 oid format을 따를 경우 'oid'로 설정; attributes 배열의 isMemberOf를 oid로 변경해 적용함
  • isMemberOf: grouper나 comanage에 설정된 값을 따름
  • referUrl: grouper나 comanage의 group 권한 요청 URL

적용 방법

  • allow: 해당 서비스제공자는 반드시 정의된 속성명과 속성값을 가지고 있어야 접근할 수 있다.

groupacl's People

Contributors

coreen-kafe avatar proin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.