Agent Toolkit Java Edition

com.adventnet.agent.security
Class AuthorisationUtilities

java.lang.Object
  |
  +--com.adventnet.agent.security.AuthorisationUtilities

public class AuthorisationUtilities
extends java.lang.Object

Contains utilities method for chexkin


Constructor Summary
AuthorisationUtilities()
          Default Constructor for AuthorisationUtilities
 
Method Summary
static boolean containsWildCardChars(java.lang.String value)
          Determines whether the String passes has any wild card chars in it.
static boolean wildcardMatch(java.lang.String pattern, java.lang.String string)
          Determines whether the String matches with the pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorisationUtilities

public AuthorisationUtilities()
Default Constructor for AuthorisationUtilities
Method Detail

containsWildCardChars

public static boolean containsWildCardChars(java.lang.String value)
Determines whether the String passes has any wild card chars in it.
Parameters:
value - The String which is checked for wild chars
Returns:
true if the string passed has wild cards chars and false otherwise

wildcardMatch

public static boolean wildcardMatch(java.lang.String pattern,
                                    java.lang.String string)
Determines whether the String matches with the pattern.
Returns:
true if the string matches with the pattern

Agent Toolkit Java Edition

© 1996 - 2003 AdventNet Inc. Visit us at: http://www.adventnet.com