renamed to remove CAS
This commit is contained in:
parent
d2509c07dd
commit
1771f0a51f
|
|
@ -15,7 +15,7 @@ import org.jasig.cas.authentication.principal.Principal;
|
|||
* @version $Revision$ $Date$
|
||||
* @since 3.0
|
||||
*/
|
||||
public interface CasAuthorizedDecider {
|
||||
public interface AuthorizedDecider {
|
||||
|
||||
/**
|
||||
* Determines whether someone can use the system or not.
|
||||
|
|
@ -11,15 +11,15 @@ import org.jasig.cas.client.util.CommonUtils;
|
|||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Default implementation of the CasAuthorizedDecider that delegates to a list
|
||||
* Default implementation of the AuthorizedDecider that delegates to a list
|
||||
* to check if someone is authorized.
|
||||
*
|
||||
* @author Scott Battaglia
|
||||
* @version $Revision$ $Date$
|
||||
* @since 3.0
|
||||
*/
|
||||
public final class DefaultCasAuthorizedDeciderImpl implements
|
||||
CasAuthorizedDecider {
|
||||
public final class DefaultAuthorizedDeciderImpl implements
|
||||
AuthorizedDecider {
|
||||
|
||||
/**
|
||||
* The list of users authorized to use the system.
|
||||
|
|
@ -31,7 +31,7 @@ public final class DefaultCasAuthorizedDeciderImpl implements
|
|||
*
|
||||
* @param users the list of acceptable users.
|
||||
*/
|
||||
public DefaultCasAuthorizedDeciderImpl(final List users) {
|
||||
public DefaultAuthorizedDeciderImpl(final List users) {
|
||||
CommonUtils.assertNotEmpty(users, "users cannot be empty.");
|
||||
this.users = users;
|
||||
}
|
||||
|
|
@ -3,5 +3,8 @@
|
|||
<p>The authorization package contains the interface for a simple
|
||||
abstraction for authorizing users to use an application. It is not a
|
||||
complete role-based or access control authorization system.</p>
|
||||
|
||||
<p>For true authorization we recommend you look at the <a href="http://www.acegisecurity.org">Security for Spring</a>
|
||||
project.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue