.. java:import:: java.io IOException .. java:import:: java.security NoSuchAlgorithmException .. java:import:: java.sql SQLException .. java:import:: java.util.logging Level .. java:import:: org.apache.shiro SecurityUtils .. java:import:: org.apache.shiro.authc AccountException .. java:import:: org.apache.shiro.authc AuthenticationException .. java:import:: org.apache.shiro.authc CredentialsException .. java:import:: org.apache.shiro.subject Subject .. java:import:: org.caosdb.server CaosDBException .. java:import:: org.caosdb.server CaosDBServer .. java:import:: org.caosdb.server.accessControl AuthenticationUtils .. java:import:: org.caosdb.server.accessControl RealmUsernamePasswordToken .. java:import:: org.caosdb.server.accessControl UserSources .. java:import:: org.caosdb.server.database.backend.implementation MySQL.ConnectionException .. java:import:: org.caosdb.server.entity.xml ToElementable .. java:import:: org.caosdb.server.utils ServerMessages .. java:import:: org.jdom2 Document .. java:import:: org.jdom2 Element .. java:import:: org.jdom2 JDOMException .. java:import:: org.restlet.data Form .. java:import:: org.restlet.data Reference .. java:import:: org.restlet.data Status .. java:import:: org.restlet.representation Representation AuthenticationResource ====================== .. java:package:: org.caosdb.server.resource :noindex: .. java:type:: public class AuthenticationResource extends AbstractCaosDBServerResource Methods ------- httpDeleteInChildClass ^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected Representation httpDeleteInChildClass() throws ConnectionException, SQLException, CaosDBException, IOException, NoSuchAlgorithmException, Exception :outertype: AuthenticationResource httpGetInChildClass ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected Representation httpGetInChildClass() throws ConnectionException, IOException, SQLException, CaosDBException, NoSuchAlgorithmException, Exception :outertype: AuthenticationResource Returns single "Login" element. XSLT will create a form. httpPostInChildClass ^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override protected Representation httpPostInChildClass(Representation entity) throws ConnectionException, JDOMException, Exception, xmlNotWellFormedException :outertype: AuthenticationResource