Package org.intalio.tempo.workflow.auth

Examples of org.intalio.tempo.workflow.auth.AuthException


            throw new RequiredArgumentException("participantToken");
        }

        UserRoles credentials = _tokenMap.get(participantToken);
        if (credentials == null) {
            throw new AuthException("Failed to authenticate token: '" + participantToken + "'");
        }
        return credentials;
    }
View Full Code Here


                    roles += (i == 0 ? "" : ",") + invokerRoles[i];
                _logger.debug("User " + invokerUser + " with roles " + roles);
            }
            return new UserRoles(invokerUser, invokerRoles);
        } catch (Exception e) {
            throw new AuthException(e);
        }
    }
View Full Code Here

                    dao.deleteTask(task.getInternalId(), taskID);
                    dao.commit();
                    if (_logger.isDebugEnabled())
                        _logger.debug(userID + " has deleted Workflow Task " + task);
                } else {
                    problemTasks.put(taskID, new AuthException(userID + " cannot delete" + taskID));
                }
            } catch (Exception e) {
                _logger.error("Cannot retrieve Workflow Tasks", e);
                problemTasks.put(taskID, e);
            }
View Full Code Here

                    dao.deletePipaTask(formUrl);
                    dao.commit();
                    if (_logger.isDebugEnabled())
                        _logger.debug(userID + " has deleted PIPA Task " + task);
                } else {
                    problemTasks.put(formUrl, new AuthException(userID + " cannot delete" + formUrl));
                }
            } catch (Exception e) {
                _logger.error("Cannot retrieve PIPA Tasks", e);
                problemTasks.put(formUrl, e);
            }
View Full Code Here

TOP

Related Classes of org.intalio.tempo.workflow.auth.AuthException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.