/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> arguments. * * @return logged in session * @throws RepositoryException if an error occurs */ public Session login() throws RepositoryException { return login(null, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * the given credentials and a <code>null</code> workspace name. * * @param credentials login credentials * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(Credentials credentials) throws RepositoryException { return login(credentials, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> arguments. * * @return logged in session * @throws RepositoryException if an error occurs */ public Session login() throws RepositoryException { return login(null, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> credentials and the given workspace name. * * @param workspace workspace name * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(String workspace) throws RepositoryException { return login(null, workspace); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> arguments. * * @return logged in session * @throws RepositoryException if an error occurs */ public Session login() throws RepositoryException { return login(null, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * the given credentials and a <code>null</code> workspace name. * * @param credentials login credentials * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(Credentials credentials) throws RepositoryException { return login(credentials, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> credentials and the given workspace name. * * @param workspace workspace name * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(String workspace) throws RepositoryException { return login(null, workspace); }
/** * Calls {@link Repository#login(Credentials, String)} with * the given credentials and a <code>null</code> workspace name. * * @param credentials login credentials * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(Credentials credentials) throws RepositoryException { return login(credentials, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> credentials and the given workspace name. * * @param workspace workspace name * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(String workspace) throws RepositoryException { return login(null, workspace); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> credentials and the given workspace name. * * @param workspace workspace name * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(String workspace) throws RepositoryException { return login(null, workspace); }
/** * Calls {@link Repository#login(Credentials, String)} with * <code>null</code> arguments. * * @return logged in session * @throws RepositoryException if an error occurs */ public Session login() throws RepositoryException { return login(null, null); }
/** * Calls {@link Repository#login(Credentials, String)} with * the given credentials and a <code>null</code> workspace name. * * @param credentials login credentials * @return logged in session * @throws RepositoryException if an error occurs */ public Session login(Credentials credentials) throws RepositoryException { return login(credentials, null); }
/** * This implementation directly delegates to {@link #login(javax.jcr.Credentials, String)} * not supporting any attributes. * * @param credentials the credentials of the user * @param workspaceName the name of a workspace * @param attributes implementation-specific session attributes * @return a valid session for the user to access the repository. * @throws javax.jcr.LoginException * @throws javax.jcr.NoSuchWorkspaceException * @throws RepositoryException */ public Session login( Credentials credentials, String workspaceName, Map<String, Object> attributes) throws LoginException, NoSuchWorkspaceException, RepositoryException { return login(credentials, workspaceName); }
/** * This implementation directly delegates to {@link #login(javax.jcr.Credentials, String)} * not supporting any attributes. * * @param credentials the credentials of the user * @param workspaceName the name of a workspace * @param attributes implementation-specific session attributes * @return a valid session for the user to access the repository. * @throws javax.jcr.LoginException * @throws javax.jcr.NoSuchWorkspaceException * @throws RepositoryException */ public Session login( Credentials credentials, String workspaceName, Map<String, Object> attributes) throws LoginException, NoSuchWorkspaceException, RepositoryException { return login(credentials, workspaceName); }
/** * This implementation directly delegates to {@link #login(javax.jcr.Credentials, String)} * not supporting any attributes. * * @param credentials the credentials of the user * @param workspaceName the name of a workspace * @param attributes implementation-specific session attributes * @return a valid session for the user to access the repository. * @throws javax.jcr.LoginException * @throws javax.jcr.NoSuchWorkspaceException * @throws RepositoryException */ public Session login( Credentials credentials, String workspaceName, Map<String, Object> attributes) throws LoginException, NoSuchWorkspaceException, RepositoryException { return login(credentials, workspaceName); }