	@Test
	public void getClientDetails() throws Exception{

		Identity clientIdentity = krb5ServerHelper.getClientIdentity(serviceTicket);
		System.out.println(clientIdentity.toString());
		assertEquals("Username - Expected: " + clientUsername + " Actual: " +  clientIdentity.getUsername(), clientUsername, clientIdentity.getUsername());
		assertEquals("Realm - Expected: " + clientDomain + " Actual: " +  clientIdentity.getRealm(), clientDomain, clientIdentity.getRealm());
		assertNotNull("Full name: " + clientIdentity.getAttribute("fullName"), clientIdentity.getAttribute("fullName"));
		assertNotNull("Authentication time: " + clientIdentity.getAuthenticationDateTime().toString(), clientIdentity.getAuthenticationDateTime());
		assertTrue("End time: " + ((Date)clientIdentity.getAttribute("endTime")).toString(), ((Date)clientIdentity.getAttribute("endTime")).after(new Date()));
		assertNotNull(clientIdentity.getAttribute("clientAddress"));
		assertNotNull(clientIdentity.getAttribute("pac"));
		
	}