private final List<SavedAuthentication> authentications = new ArrayList<SavedAuthentication>();
public SavedAuthorizationImpl(SecurityContext context) {
if (null != context) {
for (Authentication org : context.getSecurityServiceResults()) {
SavedAuthentication sa = new SavedAuthenticationImpl();
sa.setSecurityServiceId(org.getSecurityServiceId());
sa.setAuthorizations(org.getAuthorizations());
authentications.add(sa);
}
}
}