public String cacheUserData(final HashMap attributes) {
public String cacheUserData(final HashMap attributes) throws MoriaStoreException {
    public String cacheUserData(final HashMap attributes) {        if (attributes == null) {            throw new IllegalArgumentException("attributes cannot be null");        }        CachedUserData userData = new CachedUserData(attributes);        /* Create new SSO ticket with null-value servicePrincipal. */        MoriaTicket ssoTicket = new MoriaTicket(MoriaTicketType.SSO_TICKET, null, ssoTicketTTL);        insertIntoStore(ssoTicket, null, userData);        return ssoTicket.getTicketId();    }