
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_security_auth_kerberos_ServicePermission__
#define __javax_security_auth_kerberos_ServicePermission__

#pragma interface

#include <java/security/Permission.h>
extern "Java"
{
  namespace java
  {
    namespace security
    {
        class Permission;
        class PermissionCollection;
    }
  }
  namespace javax
  {
    namespace security
    {
      namespace auth
      {
        namespace kerberos
        {
            class ServicePermission;
        }
      }
    }
  }
}

class javax::security::auth::kerberos::ServicePermission : public ::java::security::Permission
{

public:
  ServicePermission(::java::lang::String *, ::java::lang::String *);
  jboolean implies(::java::security::Permission *);
  jboolean equals(::java::lang::Object *);
  jint hashCode();
  ::java::lang::String * getActions();
  ::java::security::PermissionCollection * newPermissionCollection();
private:
  void parseActions(::java::lang::String *);
  static const jint INITIATE = 1;
  static const jint ACCEPT = 2;
  jint __attribute__((aligned(__alignof__( ::java::security::Permission)))) flags;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_security_auth_kerberos_ServicePermission__
