electric.security.guards
Class Role

java.lang.Object
  extended byelectric.security.guards.Role
All Implemented Interfaces:
IGuard

public class Role
extends java.lang.Object
implements IGuard

Role.

Author:
webMethods

Constructor Summary
Role()
           
Role(java.lang.String role)
           
Role(java.lang.String[] roles)
           
 
Method Summary
 void check(IRealm realm, java.lang.String user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()

Role

public Role(java.lang.String role)
Parameters:
role -

Role

public Role(java.lang.String[] roles)
Parameters:
roles -
Method Detail

check

public void check(IRealm realm,
                  java.lang.String user)
           throws java.lang.SecurityException
Specified by:
check in interface IGuard
Parameters:
realm -
user -
Throws:
java.lang.SecurityException


copyright© 2001-2004 by webMethods All Rights Reserved.