@Override public void setActionAttributes(MultiValueMap<URI> actionAttributes) { if (actionAttributes == null) { m_actionAttributes = new MultiValueMap<URI>(); } else { m_actionAttributes = actionAttributes; } m_actionAttributes.lock(); }
public void setEnvironmentValues(MultiValueMap<URI> environmentAttributes) { m_environmentAttributes = environmentAttributes; if (m_environmentAttributes == null) { m_environmentAttributes = new MultiValueMap<URI>(); } m_environmentAttributes.lock(); }
public static <S> MultiValueMap<S> empty(Class<S> klazz) { MultiValueMap<S> result = new MultiValueMap<S>(); result.lock(); return result; }
public void setEnvironmentValues(MultiValueMap<URI> environmentAttributes) { m_environmentAttributes = environmentAttributes; if (m_environmentAttributes == null) { m_environmentAttributes = new MultiValueMap<URI>(); } m_environmentAttributes.lock(); }
public static <S> MultiValueMap<S> empty(Class<S> klazz) { MultiValueMap<S> result = new MultiValueMap<S>(); result.lock(); return result; }
@Override public void setResourceAttributes(MultiValueMap<URI> resourceAttributes) { if (resourceAttributes == null) { m_resourceAttributes = new MultiValueMap<URI>(); } else { m_resourceAttributes = resourceAttributes; } m_resourceAttributes.lock(); }
@Override public void setActionAttributes(MultiValueMap<URI> actionAttributes) { if (actionAttributes == null) { m_actionAttributes = new MultiValueMap<URI>(); } else { m_actionAttributes = actionAttributes; } m_actionAttributes.lock(); }
@Override public void setResourceAttributes(MultiValueMap<URI> resourceAttributes) { if (resourceAttributes == null) { m_resourceAttributes = new MultiValueMap<URI>(); } else { m_resourceAttributes = resourceAttributes; } m_resourceAttributes.lock(); }
public static final ReadOnlyContext getContext(String messageProtocol, String subjectId, String password, /* * String[] * roles, */ boolean noOp) throws Exception { MultiValueMap<URI> environmentMap = beginEnvironmentMap(messageProtocol); environmentMap.lock(); // no request to grok more from return getContext(null, environmentMap, subjectId, password, /* roles, */ null, noOp); }
public static final ReadOnlyContext getContext(String messageProtocol, String subjectId, String password, /* * String[] * roles, */ boolean noOp) throws Exception { MultiValueMap<URI> environmentMap = beginEnvironmentMap(messageProtocol); environmentMap.lock(); // no request to grok more from return getContext(null, environmentMap, subjectId, password, /* roles, */ null, noOp); }
m_subjectAttributes = new MultiValueMap<String>(); m_subjectAttributes.lock(); logger.debug("subject attributes in readonlycontext constructor == {}", m_subjectAttributes); m_actionAttributes = new MultiValueMap<URI>(); m_actionAttributes.lock(); m_resourceAttributes = new MultiValueMap<URI>(); m_resourceAttributes.lock(); if (password == null) { password = "";
m_subjectAttributes = new MultiValueMap<String>(); m_subjectAttributes.lock(); logger.debug("subject attributes in readonlycontext constructor == {}", m_subjectAttributes); m_actionAttributes = new MultiValueMap<URI>(); m_actionAttributes.lock(); m_resourceAttributes = new MultiValueMap<URI>(); m_resourceAttributes.lock(); if (password == null) { password = "";
environmentMap.lock();
environmentMap.lock();
e); } finally { subjectMap.lock();
e); } finally { subjectMap.lock();