It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.





Class CAS_ProxyChain

A normal proxy-chain definition that lists each level of the chain as either a string or regular expression.

CAS_ProxyChain implements CAS_ProxyChain_Interface

Direct known subclasses

Package: PhpCAS
Category: Authentication
License: Apache License 2.0
Author: Adam Franco
Class: CAS_ProxyChain
Located at shared/cas/source/CAS/ProxyChain.php
Methods summary
# __construct( array $chain )

A chain is an array of strings or regexp strings that will be matched against. Regexp will be matched with preg_match and strings will be matched from the beginning. A string must fully match the beginning of an proxy url. So you can define a full domain as acceptable or go further down. Proxies have to be defined in reverse from the service to the user. If a user hits service A get proxied via B to service C the list of acceptable proxies on C would be array(B,A);

public boolean
# matches( array $list )

Match a list of proxies.

protected boolean
# isSizeValid( array $list )

Validate the size of the the list as compared to our chain.

Properties summary
protected array $chain
# array()

© 2004-2022 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy