map.entrySet() is to take out each key-value pair in the map and encapsulate it into an Entry object and store it in a Set.
Map.Entry<String, String> means a generic type, which means that the Entry contains two strings of strings, which are the key and value of the allrecordmap.
As for private final String ENTRY = "com.primeton.ibs.bm.common.sso.SsoApplication"; what is this string used for? I haven't seen the reference, so I'm not sure if it's related.
What is installed in the entry, you have to see what key-value pairs are stored in the map of allrecordmap.
keySet is a collection of keys, and the type in Set is the type of key
entrySet is a collection of key-value pairs, and the type in Set is Map.Entry