C# Class Apache.Shiro.Authz.SimpleRole

Mostra file Open project: katasource/shironet

Public Methods

Method Description
Add ( IPermission permission ) : void
AddAll ( IEnumerable e ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsPermitted ( IPermission permission ) : bool
SimpleRole ( ) : System
SimpleRole ( string name, ISet permissions = null ) : System
ToString ( ) : string

Method Details

Add() public method

public Add ( IPermission permission ) : void
permission IPermission
return void

AddAll() public method

public AddAll ( IEnumerable e ) : void
e IEnumerable
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsPermitted() public method

public IsPermitted ( IPermission permission ) : bool
permission IPermission
return bool

SimpleRole() public method

public SimpleRole ( ) : System
return System

SimpleRole() public method

public SimpleRole ( string name, ISet permissions = null ) : System
name string
permissions ISet
return System

ToString() public method

public ToString ( ) : string
return string