Search in sources :

Example 6 with SortedSet

use of io.bastillion.manage.model.SortedSet in project KeyBox by skavanagh.

the class AuthKeysKtrl method manageViewKeys.

@Kontrol(path = "/manage/viewKeys", method = MethodType.GET)
public String manageViewKeys() throws ServletException {
    try {
        profileList = ProfileDB.getAllProfiles();
        userList = UserDB.getUserSet(new SortedSet(SessionAuditDB.SORT_BY_USERNAME)).getItemList();
        sortedSet = PublicKeyDB.getPublicKeySet(sortedSet);
    } catch (SQLException | GeneralSecurityException ex) {
        log.error(ex.toString(), ex);
        throw new ServletException(ex.toString(), ex);
    }
    return "/manage/view_keys.html";
}
Also used : ServletException(javax.servlet.ServletException) SQLException(java.sql.SQLException) GeneralSecurityException(java.security.GeneralSecurityException) SortedSet(io.bastillion.manage.model.SortedSet) Kontrol(loophole.mvc.annotation.Kontrol)

Aggregations

SortedSet (io.bastillion.manage.model.SortedSet)6 GeneralSecurityException (java.security.GeneralSecurityException)5 SQLException (java.sql.SQLException)5 ServletException (javax.servlet.ServletException)5 Kontrol (loophole.mvc.annotation.Kontrol)5 HostSystem (io.bastillion.manage.model.HostSystem)1