private void init(String target){
  StringTokenizer t=null;
  if (!target.startsWith("\"")) {
    throw new IllegalArgumentException("service principal [" + target + "] syntax invalid: "+ "improperly quoted");
  }
 else {
    t=new StringTokenizer(target,"\"",false);
    subordinate=t.nextToken();
    if (t.countTokens() == 2) {
      t.nextToken();
      service=t.nextToken();
    }
 else     if (t.countTokens() > 0) {
      throw new IllegalArgumentException("service principal [" + t.nextToken() + "] syntax invalid: "+ "improperly quoted");
    }
  }
}

private void init ( String target ) { StringTokenizer t = null ; if ( ! target . startsWith ( "\"" ) ) { throw new IllegalArgumentException ( "service principal [" + target + "] syntax invalid: " + "improperly quoted" ) ; } else { t = new StringTokenizer ( target , "\"" , false ) ; subordinate = t . nextToken ( ) ; if ( t . countTokens ( ) == 2 ) { t . nextToken ( ) ; service = t . nextToken ( ) ; } else if ( t . countTokens ( ) > 0 ) { throw new IllegalArgumentException ( "service principal [" + t . nextToken ( ) + "] syntax invalid: " + "improperly quoted" ) ; } } }
initialize the delegationpermission object .
