Esempio n. 1
0
 public KPFormField(string name, string displayName, string value, KeeICE.KPlib.formFieldType type, string id, int page)
 {
     this.name = name;
     this.displayName = displayName;
     this.value = value;
     this.type = type;
     this.id = id;
     this.page = page;
 }
Esempio n. 2
0
 public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config)
 {
     return setCurrentKFConfig(config, null, false);
 }
Esempio n. 3
0
 public abstract bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, Ice.Current current__);
Esempio n. 4
0
 public abstract int findGroups(string name, string uuid, out KeeICE.KPlib.KPGroup[] groups, Ice.Current current__);
Esempio n. 5
0
 public abstract int countLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, Ice.Current current__);
Esempio n. 6
0
 public abstract int findLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, string uniqueID, out KeeICE.KPlib.KPEntry[] logins, Ice.Current current__);
Esempio n. 7
0
 public abstract int getAllLogins(out KeeICE.KPlib.KPEntry[] logins, Ice.Current current__);
Esempio n. 8
0
 public abstract void ModifyLogin(KeeICE.KPlib.KPEntry oldLogin, KeeICE.KPlib.KPEntry newLogin, Ice.Current current__);
Esempio n. 9
0
 public int getAllLogins(out KeeICE.KPlib.KPEntry[] logins, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("getAllLogins", Ice.OperationMode.Normal, context__);
     try
     {
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(KeeICE.KPlib.KeeICEException)
                 {
                     throw;
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             {
                 int szx__ = is__.readSize();
                 is__.startSeq(szx__, 19);
                 logins = new KeeICE.KPlib.KPEntry[szx__];
                 for(int ix__ = 0; ix__ < szx__; ++ix__)
                 {
                     logins[ix__] = new KeeICE.KPlib.KPEntry();
                     logins[ix__].read__(is__);
                     is__.checkSeq();
                     is__.endElement();
                 }
                 is__.endSeq(szx__);
             }
             int ret__;
             ret__ = is__.readInt();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 10
0
 public int findLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, string uniqueID, out KeeICE.KPlib.KPEntry[] logins, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("findLogins", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             os__.writeString(hostname);
             os__.writeString(actionURL);
             os__.writeString(httpRealm);
             os__.writeByte((byte)lst, 3);
             os__.writeBool(requireFullURLMatches);
             os__.writeString(uniqueID);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(KeeICE.KPlib.KeeICEException)
                 {
                     throw;
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             {
                 int szx__ = is__.readSize();
                 is__.startSeq(szx__, 19);
                 logins = new KeeICE.KPlib.KPEntry[szx__];
                 for(int ix__ = 0; ix__ < szx__; ++ix__)
                 {
                     logins[ix__] = new KeeICE.KPlib.KPEntry();
                     logins[ix__].read__(is__);
                     is__.checkSeq();
                     is__.endElement();
                 }
                 is__.endSeq(szx__);
             }
             int ret__;
             ret__ = is__.readInt();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 11
0
 public int findGroups(string name, string uuid, out KeeICE.KPlib.KPGroup[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("findGroups", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             os__.writeString(name);
             os__.writeString(uuid);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             {
                 int szx__ = is__.readSize();
                 is__.startSeq(szx__, 3);
                 groups = new KeeICE.KPlib.KPGroup[szx__];
                 for(int ix__ = 0; ix__ < szx__; ++ix__)
                 {
                     groups[ix__] = new KeeICE.KPlib.KPGroup();
                     groups[ix__].read__(is__);
                     is__.checkSeq();
                     is__.endElement();
                 }
                 is__.endSeq(szx__);
             }
             int ret__;
             ret__ = is__.readInt();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 12
0
 public int countLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("countLogins", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             os__.writeString(hostname);
             os__.writeString(actionURL);
             os__.writeString(httpRealm);
             os__.writeByte((byte)lst, 3);
             os__.writeBool(requireFullURLMatches);
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(KeeICE.KPlib.KeeICEException)
                 {
                     throw;
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             int ret__;
             ret__ = is__.readInt();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 13
0
 public void ModifyLogin(KeeICE.KPlib.KPEntry oldLogin, KeeICE.KPlib.KPEntry newLogin, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("ModifyLogin", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             if(oldLogin == null)
             {
                 KeeICE.KPlib.KPEntry tmp__ = new KeeICE.KPlib.KPEntry();
                 tmp__.write__(os__);
             }
             else
             {
                 oldLogin.write__(os__);
             }
             if(newLogin == null)
             {
                 KeeICE.KPlib.KPEntry tmp__ = new KeeICE.KPlib.KPEntry();
                 tmp__.write__(os__);
             }
             else
             {
                 newLogin.write__(os__);
             }
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(KeeICE.KPlib.KeeICEException)
                 {
                     throw;
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             is__.endReadEncaps();
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 14
0
 private bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
 {
     if(explicitContext__ && context__ == null)
     {
         context__ = emptyContext_;
     }
     int cnt__ = 0;
     while(true)
     {
         Ice.ObjectDel_ delBase__ = null;
         try
         {
             checkTwowayOnly__("setCurrentKFConfig");
             delBase__ = getDelegate__(false);
             KPDel_ del__ = (KPDel_)delBase__;
             return del__.setCurrentKFConfig(config, context__);
         }
         catch(IceInternal.LocalExceptionWrapper ex__)
         {
             handleExceptionWrapper__(delBase__, ex__, null);
         }
         catch(Ice.LocalException ex__)
         {
             handleException__(delBase__, ex__, null, ref cnt__);
         }
     }
 }
Esempio n. 15
0
 public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     return setCurrentKFConfig(config, context__, true);
 }
Esempio n. 16
0
 public abstract KeeICE.KPlib.KPEntry AddLogin(KeeICE.KPlib.KPEntry login, string parentUUID, Ice.Current current__);
Esempio n. 17
0
 public void ModifyLogin(KeeICE.KPlib.KPEntry oldLogin, KeeICE.KPlib.KPEntry newLogin)
 {
     ModifyLogin(oldLogin, newLogin, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 18
0
 public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     IceInternal.Outgoing og__ = handler__.getOutgoing("setCurrentKFConfig", Ice.OperationMode.Normal, context__);
     try
     {
         try
         {
             IceInternal.BasicStream os__ = og__.ostr();
             if(config == null)
             {
                 KeeICE.KPlib.KFConfiguration tmp__ = new KeeICE.KPlib.KFConfiguration();
                 tmp__.write__(os__);
             }
             else
             {
                 config.write__(os__);
             }
         }
         catch(Ice.LocalException ex__)
         {
             og__.abort(ex__);
         }
         bool ok__ = og__.invoke();
         try
         {
             if(!ok__)
             {
                 try
                 {
                     og__.throwUserException();
                 }
                 catch(Ice.UserException ex)
                 {
                     throw new Ice.UnknownUserException(ex.ice_name(), ex);
                 }
             }
             IceInternal.BasicStream is__ = og__.istr();
             is__.startReadEncaps();
             bool ret__;
             ret__ = is__.readBool();
             is__.endReadEncaps();
             return ret__;
         }
         catch(Ice.LocalException ex__)
         {
             throw new IceInternal.LocalExceptionWrapper(ex__, false);
         }
     }
     finally
     {
         handler__.reclaimOutgoing(og__);
     }
 }
Esempio n. 19
0
 public int getAllLogins(out KeeICE.KPlib.KPEntry[] logins)
 {
     return getAllLogins(out logins, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 20
0
 public KPEntry(string[] URLs, string formActionURL, string HTTPRealm, string title, KeeICE.KPlib.KPFormField[] formFieldList, bool exactMatch, string uniqueID, bool alwaysAutoFill, bool neverAutoFill, bool alwaysAutoSubmit, bool neverAutoSubmit, int priority, string parentGroupName, string parentGroupUUID, string parentGroupPath, string iconImageData)
 {
     this.URLs = URLs;
     this.formActionURL = formActionURL;
     this.HTTPRealm = HTTPRealm;
     this.title = title;
     this.formFieldList = formFieldList;
     this.exactMatch = exactMatch;
     this.uniqueID = uniqueID;
     this.alwaysAutoFill = alwaysAutoFill;
     this.neverAutoFill = neverAutoFill;
     this.alwaysAutoSubmit = alwaysAutoSubmit;
     this.neverAutoSubmit = neverAutoSubmit;
     this.priority = priority;
     this.parentGroupName = parentGroupName;
     this.parentGroupUUID = parentGroupUUID;
     this.parentGroupPath = parentGroupPath;
     this.iconImageData = iconImageData;
 }
Esempio n. 21
0
 public int findLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, string uniqueID, out KeeICE.KPlib.KPEntry[] logins)
 {
     return findLogins(hostname, actionURL, httpRealm, lst, requireFullURLMatches, uniqueID, out logins, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 22
0
 public int countLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "countLogins", Ice.OperationMode.Normal, context__);
     int result__ = 0;
     Ice.UserException userException__ = null;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         KP servant__ = null;
         try
         {
             servant__ = (KP)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         try
         {
             result__ = servant__.countLogins(hostname, actionURL, httpRealm, lst, requireFullURLMatches, current__);
             return Ice.DispatchStatus.DispatchOK;
         }
         catch(Ice.UserException ex__)
         {
             userException__ = ex__;
             return Ice.DispatchStatus.DispatchUserException;
         }
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             if(status__ == Ice.DispatchStatus.DispatchUserException)
             {
                 throw userException__;
             }
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(KeeICE.KPlib.KeeICEException)
     {
         throw;
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     return result__;
 }
Esempio n. 23
0
 public int countLogins(string hostname, string actionURL, string httpRealm, KeeICE.KPlib.loginSearchType lst, bool requireFullURLMatches)
 {
     return countLogins(hostname, actionURL, httpRealm, lst, requireFullURLMatches, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 24
0
 public int findGroups(string name, string uuid, out KeeICE.KPlib.KPGroup[] groups, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "findGroups", Ice.OperationMode.Normal, context__);
     KeeICE.KPlib.KPGroup[] groupsHolder__ = null;
     int result__ = 0;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         KP servant__ = null;
         try
         {
             servant__ = (KP)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         result__ = servant__.findGroups(name, uuid, out groupsHolder__, current__);
         return Ice.DispatchStatus.DispatchOK;
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     groups = groupsHolder__;
     return result__;
 }
Esempio n. 25
0
 public int findGroups(string name, string uuid, out KeeICE.KPlib.KPGroup[] groups)
 {
     return findGroups(name, uuid, out groups, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 26
0
 public int getAllLogins(out KeeICE.KPlib.KPEntry[] logins, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "getAllLogins", Ice.OperationMode.Normal, context__);
     KeeICE.KPlib.KPEntry[] loginsHolder__ = null;
     int result__ = 0;
     Ice.UserException userException__ = null;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         KP servant__ = null;
         try
         {
             servant__ = (KP)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         try
         {
             result__ = servant__.getAllLogins(out loginsHolder__, current__);
             return Ice.DispatchStatus.DispatchOK;
         }
         catch(Ice.UserException ex__)
         {
             userException__ = ex__;
             return Ice.DispatchStatus.DispatchUserException;
         }
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             if(status__ == Ice.DispatchStatus.DispatchUserException)
             {
                 throw userException__;
             }
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(KeeICE.KPlib.KeeICEException)
     {
         throw;
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     logins = loginsHolder__;
     return result__;
 }
Esempio n. 27
0
 public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config)
 {
     return setCurrentKFConfig(config, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 28
0
 public bool setCurrentKFConfig(KeeICE.KPlib.KFConfiguration config, _System.Collections.Generic.Dictionary<string, string> context__)
 {
     Ice.Current current__ = new Ice.Current();
     initCurrent__(ref current__, "setCurrentKFConfig", Ice.OperationMode.Normal, context__);
     bool result__ = false;
     IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__)
     {
         KP servant__ = null;
         try
         {
             servant__ = (KP)obj__;
         }
         catch(_System.InvalidCastException)
         {
             throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation);
         }
         result__ = servant__.setCurrentKFConfig(config, current__);
         return Ice.DispatchStatus.DispatchOK;
     };
     IceInternal.Direct direct__ = null;
     try
     {
         direct__ = new IceInternal.Direct(current__, run__);
         try
         {
             Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__);
             _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK);
         }
         finally
         {
             direct__.destroy();
         }
     }
     catch(Ice.SystemException)
     {
         throw;
     }
     catch(System.Exception ex__)
     {
         IceInternal.LocalExceptionWrapper.throwWrapper(ex__);
     }
     return result__;
 }
Esempio n. 29
0
 public KeeICE.KPlib.KPEntry AddLogin(KeeICE.KPlib.KPEntry login, string parentUUID)
 {
     return AddLogin(login, parentUUID, Ice.ObjectImpl.defaultCurrent);
 }
Esempio n. 30
0
 private int getAllLogins(out KeeICE.KPlib.KPEntry[] logins, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__)
 {
     if(explicitContext__ && context__ == null)
     {
         context__ = emptyContext_;
     }
     int cnt__ = 0;
     while(true)
     {
         Ice.ObjectDel_ delBase__ = null;
         try
         {
             checkTwowayOnly__("getAllLogins");
             delBase__ = getDelegate__(false);
             KPDel_ del__ = (KPDel_)delBase__;
             return del__.getAllLogins(out logins, context__);
         }
         catch(IceInternal.LocalExceptionWrapper ex__)
         {
             handleExceptionWrapper__(delBase__, ex__, null);
         }
         catch(Ice.LocalException ex__)
         {
             handleException__(delBase__, ex__, null, ref cnt__);
         }
     }
 }